Function meshopt_rs::quantize::quantize_float
source · [−]Expand description
Quantizes a float into a floating point value with a limited number of significant mantissa bits.
Generates +-inf for overflow, preserves NaN, flushes denormals to zero, rounds to nearest.
Assumes n
is in a valid mantissa precision range, which is 1..23