cosmopolitan/libc/math/__math_divzerof.c

7 lines
119 B
C

#include "libc/math/libm.h"
float __math_divzerof(uint32_t sign)
{
return fp_barrierf(sign ? -1.0f : 1.0f) / 0.0f;
}