#include <cafe/os.h> static inline void OSu16tof32(const u16* in, volatile f32* out); static inline f32 OSu16tof32Value(const u16* in);
|in||Pointer to the unsigned 16-bit integer value to convert.|
|out||Pointer to a 32-bit floating-point value to store.|
||Result as an 16-bit unsigned integer value.|
OSu16tof32 fast-converts unsigned 16-bit integer memory into 32-bit floating-point memory in two instructions (using a load and a store).
OSu16tof32Value fast-converts an unsigned 16-bit integer value into a 32-bit floating value in two instructions (using a store and a load).
OSInitFastCast function before invoking this function if the state of GQRs 2 through 5 have been changed on the current thread.
2013-05-08 Automated cleanup pass.
2012-08-02 Cleanup Pass.
2011-07-19 Updated for Cafe OS.
2010-08-30 Initial version.