ClickHouse/base/glibc-compatibility/musl/__math_divzero.c

7 lines
105 B
C
Raw Normal View History

2019-09-28 14:36:56 +00:00
#include "libm.h"
double __math_divzero(uint32_t sign)
{
return fp_barrier(sign ? -1.0 : 1.0) / 0.0;
}