Template Function TRAP::Math::Fract(genType)#

Function Documentation#

template<typename genType>
constexpr genType TRAP::Math::Fract(genType x)#

Retrieve fractional part of x.

Parameters:

x – Specify the value to evaluate.

Returns:

x - Floor(x).