HIDDEN float __math_invalidf (float x) { float y = (x - x) / (x - x); return isnan (x) ? y : with_errnof (y, EDOM); }
HIDDEN float __math_divzerof (uint32_t sign) { float y = 0; return with_errnof ((sign ? -1 : 1) / y, ERANGE); }
attribute_hidden float __math_invalidf (float x) { float y = (x - x) / (x - x); return isnan (x) ? y : with_errnof (y, EDOM); }
/* NOINLINE prevents fenv semantics breaking optimizations. */ NOINLINE static float xflowf (uint32_t sign, float y) { y = (sign ? -y : y) * y; return with_errnof (y, ERANGE); }
attribute_hidden float __math_divzerof (uint32_t sign) { float y = 0; return with_errnof ((sign ? -1 : 1) / y, ERANGE); }