adding __math_xflowf

This commit is contained in:
Martin Fouilleul 2023-09-24 11:15:08 +02:00
parent 34127134d5
commit b4aedb3ecc
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#include "libm.h"
float __math_xflowf(uint32_t sign, float y)
{
// NOTE(orca): no fp barriers
// return eval_as_double(fp_barrier(sign ? -y : y) * y);
return eval_as_float((sign ? -y : y) * y);
}