orca/cstdlib/src/__math_xflow.c

9 lines
205 B
C

#include "libm.h"
double __math_xflow(uint32_t sign, double y)
{
// NOTE(orca): no fp barriers
// return eval_as_double(fp_barrier(sign ? -y : y) * y);
return eval_as_double((sign ? -y : y) * y);
}