xref: /haiku/src/system/libroot/posix/musl/math/__math_divzero.c (revision d12bb8b14803d030b4a8fba91131e4bb96c4f406)
1 #include "libm.h"
2 
3 double __math_divzero(uint32_t sign)
4 {
5 	return fp_barrier(sign ? -1.0 : 1.0) / 0.0;
6 }
7