Fract
Fract, short for fractional part, is a mathematical concept used to describe the non-integer portion of a real number. In many programming and mathematical contexts, fract(x) denotes the fractional part of x, separating it from its integer part. It is distinct from the broader idea of a fraction and from fractals, which are geometric shapes.
The standard mathematical definition of fract(x) is x minus the floor of x. That is fract(x) = x
There are alternative conventions used in some contexts. Some definitions use x minus the truncation of x,
In computing, fract can be implemented via various methods, such as fmod(x, 1.0) or by computing x
Applications of fract appear in numeric algorithms, computer graphics, signal processing, and anywhere a value must