Expand description
Helper functions for common mathematical operations.
Structs§
- Power
OfTwo - Represents an integral power-of-two as an exponent.
Functions§
- abs
- Return the absolute value of the floating point number.
- closest_
power_ of_ two - Get closest power of two greater than the given number.
- log10
- Compute the base 10 logarithm of
f
. - log_
base_ two - Get log base 2 of a number.
- log_
base_ two_ u64 - Log base 2 of 64 bit unsigned integers.