21 return (
b != 0.0f) ?
mod(a,
b) : 0.0f;
30 return (
b != 0.0f) ? (a /
b) : 0.0f;
39 return (a != 0.0f) ? (1.0f / a) : 0.0f;
73 if (
x < 0.0f || (
x == 0.0f &&
y <= 0.0f)) {
91 if (
mod(-
y, 2.0f) == 0.0f) {
121float wrap(
float a,
float b,
float c)
125 float s = (a !=
b) ?
floor((a - c) / range) : 1.0f;
126 return (range != 0.0f) ? a - range * s : c;
VecBase< float, D > constexpr mod(VecOp< float, D >, VecOp< float, D >) RET
float wrap(float a, float b, float c)
float fallback_pow(float x, float y, float fallback)
float safe_divide(float a, float b)
float compatible_pow(float x, float y)
float safe_mod(float a, float b)
float compatible_mod(float a, float b)