Clamp x in [min, max].
Convert from radians to degrees.
Returns fractional part of x.
Integer log2.
SSE approximation of reciprocal square root.
Returns true of i is a power of 2.
Linear interpolation.
Integer flooring.
Integer truncation.
Signed integer modulo a/b where the remainder is guaranteed to be in [0..b], even if a is negative. Only supports positive dividers.
Computes next power of 2.
Computes next power of 2.
Convert from degrees to radians.
Safe acos. Input clamped to [-1, 1].
Safe asin. Input clamped to [-1, 1].
Computes sin(x)/x accurately.
If x < edge => 0.0 is returned, otherwise 1.0 is returned.
See Source File
_functions.d
Documentation:
Coverage:
Copyright (C) 2018 Gabriel Gheorghe, All Rights Reserved