I'm thinking my use case (NetBSD i386 only, or perhaps other 32 bit
implementations that also need the same syntax), would require an
additional fallback, separate from those already implemented for linux
non-gnulibc or haiku, likely below the sections starting at line 607,
but before 629 (optionally || other 32 bit OS?):
Beginning with:
#if (OS(NETBSD) && defined(__x86__))
and including:
static inline float f32_roundeven(float operand)
{
float rounded = roundf(operand);
if (fabsf(operand - rounded) == 0.5f) {
if (fmod(rounded, 2.0f) != 0.0f)
return rounded - copysignf(1.0f, operand);
}
return rounded;
}
static inline double f64_roundeven(double operand)
{
double rounded = round(operand);
if (fabs(operand - rounded) == 0.5) {
if (fmod(rounded, 2.0) != 0.0)
return rounded - copysign(1.0, operand);
}
return rounded;
}
#endif