xref: /aosp_15_r20/external/musl/src/math/__math_xflow.c (revision c9945492fdd68bbe62686c5b452b4dc1be3f8453)
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