nn::math::MersenneTwister::GenerateRandomF32 Member Function#include <nn/math.h> f32 GenerateRandomF32();
None.
Generates a single, precision floating-point random number.
Generates a random number in the range from 0.0f to less than 1.0f. The boundary values when the[0.0f, 1.0f] range is equally divided into 224 segments are returned. In other words, there are 224 types of return values. In addition, the return value does not return values in the range of (0, 1/224) because they would be integral multiples of 1/224.CONFIDENTIAL