SaturnRingLibrary 0.9.1
SGL wrapper
 
Loading...
Searching...
No Matches

◆ operator%()

Fxp SRL::Math::Types::Fxp::operator% ( const Fxp & fxp) const
inlineconstexpr

Computes the modulo of the current fixed-point value with another fixed-point value (a % b).

Parameters
fxpThe fixed-point value to use as the modulus.
Returns
The result of the modulo operation as a new Fxp object.
Note
This operation does not modify the current instance. It returns a new Fxp object representing the result of the modulo operation.