xref: /haiku/src/system/libroot/posix/musl/math/__math_xflow.c (revision f504f61099b010fbfa94b1cc63d2e9072c7f7185)
1 #include "libm.h"
2 
__math_xflow(uint32_t sign,double y)3 double __math_xflow(uint32_t sign, double y)
4 {
5 	return eval_as_double(fp_barrier(sign ? -y : y) * y);
6 }
7