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

◆ operator/=() [1/2]

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

Divides the current fixed-point value by another fixed-point value (a /= b).

Uses Saturn's hardware divider unit at runtime for optimal performance. Falls back to double math at compile time.

Parameters
fxpValue to divide by
Returns
Reference to this