SaturnRingLibrary
0.9.2
SGL wrapper
Loading...
Searching...
No Matches
◆
operator/()
[2/2]
template<typename T>
requires std::is_integral_v<T>
Fxp SRL::Math::Types::Fxp::operator/
(
const T &
value
)
const
inline
constexpr
Divides the current fixed-point value by an integer (a / b).
Template Parameters
T
The type of the integer (e.g., int, int32_t).
Parameters
value
The integer value to divide by.
Returns
The quotient 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 division.
SRL
Math
Types
Fxp