19 return (e != 0) && (e + e == e);
55 return 0.5 *
log((1+e) / (1-e));
59 return 0.5 * (
exp(e) +
exp(-e));
63 return 0.5 * (
exp(e) -
exp(-e));
88 v.x = e /
pow(2, v.y);
99float logn(
float e,
float base)
101 return log(e) /
log(base);
121 return '1 0 0' * (f -
trunc(f)) +
'0 1 0' *
trunc(f);
126 return e *
pow(2, n);
135 return sqrt(e*e + f*f);
142 return copysign(
sqrt(1 -
exp(-f * (1.273239544735163 + 0.14001228868667 * f) / (1 + 0.14001228868667 * f))), e);
153 if (e < 1 && e ==
floor(e))
154 return nan(
"gamma") *
'1 1 1';
172 return (0.5 *
log(2 *
M_PI * e) + e * (
log(e) - 1)) *
'1 0 0' +
'0 1 0';
177 return exp(v.x) * v.y;
191 return e - f *
floor(e / f);
205 return e - f *
trunc(e / f);
209 return e - f *
rint(e / f);
222 return fabs(e) * ((f>0) ? 1 : -1);
233 return nan(
"nextafter");
239 d =
max(
fabs(e), 0.00000000000000000000001);
267float fma(
float e,
float f,
float g)
290 return e < f || e > f;
294 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)
vector lgamma(float e)
Value in .x, sign in .y.
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)
vector frexp(float e)
Returns mantissa as .x, exponent as .y.
int isgreaterequal(float e, float f)
float scalbn(float e, int n)
vector modf(float f)
Fraction as .x, integer as .y.
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)
const float M_LOG10E
log_10 e
const float M_LOG2E
log_2 e