ClickHouse/libs/libglibc-compatibility/musl/__math_divzerof.c

7 lines
109 B
C
Raw Normal View History

2019-09-28 14:36:56 +00:00
#include "libm.h"
2019-08-01 03:20:54 +00:00
float __math_divzerof(uint32_t sign)
{
return fp_barrierf(sign ? -1.0f : 1.0f) / 0.0f;
}