musl-tcc/src/math/__math_divzerof.c

7 lines
109 B
C
Raw Permalink Normal View History

2022-04-14 07:49:55 +00:00
#include "libm.h"
float __math_divzerof(uint32_t sign)
{
return fp_barrierf(sign ? -1.0f : 1.0f) / 0.0f;
}