summaryrefslogtreecommitdiff
path: root/src/math/__math_xflow.c
blob: 744203c4c817b02c73c21cd89b7e4e9349433498 (plain) (blame)
1
2
3
4
5
6
#include "libm.h"

double __math_xflow(uint32_t sign, double y)
{
	return eval_as_double(fp_barrier(sign ? -y : y) * y);
}