23 return (e != 0) && (e + e == e);
59 return 0.5 *
log((1+e) / (1-e));
63 return 0.5 * (
exp(e) +
exp(-e));
67 return 0.5 * (
exp(e) -
exp(-e));
92 v.x = e /
pow(2, v.y);
101 return x *
pow(2, e);
105 return log(e) /
log(base);
125 return '1 0 0' * (f -
trunc(f)) +
'0 1 0' *
trunc(f);
130 return e *
pow(2, n);
139 return sqrt(e*e + f*f);
147 return copysign(
sqrt(1 -
exp(-f * (1.273239544735163 + 0.14001228868667 * f) / (1 + 0.14001228868667 * f))), e);
158 if(e < 1 && e ==
floor(e))
159 return nan(
"gamma") *
'1 1 1';
178 return (0.5 *
log(2 *
M_PI * e) + e * (
log(e) - 1)) *
'1 0 0' +
'0 1 0';
183 return exp(v.x) * v.y;
197 return e - f *
floor(e / f);
211 return e - f *
trunc(e / f);
215 return e - f *
rint(e / f);
228 return fabs(e) * ((f>0) ? 1 : -1);
239 return nan(
"nextafter");
245 d =
max(
fabs(e), 0.00000000000000000000001);
273float fma(
float e,
float f,
float g)
296 return e < f || e > f;
300 return !(e < f || e == f || e > f);
float fdim(float e, float f)
int isgreater(float e, float f)
vector remquo(float e, float f)
float fmin(float e, float f)
float fmax(float e, float f)
float remainder(float e, float f)
float hypot(float e, float f)
float nextafter(float e, float f)
float copysign(float e, float f)
int islessequal(float e, float f)
int isunordered(float e, float f)
float logn(float e, float base)
float ldexp(float x, int e)
int isgreaterequal(float e, float f)
float scalbn(float e, int n)
float fmod(float e, float f)
int islessgreater(float e, float f)
int isless(float e, float f)
float pymod(float e, float f)
Pythonic mod: TODO: %% operator?
float fma(float e, float f, float g)
float nexttoward(float e, float f)