#include <cafe/os.h> static inline void OSs16tof32(const s16* in, volatile f32* out); static inline f32 OSs16tof32Value(const s16* in);
|in||Pointer to the signed 16-bit integer value to convert.|
|out||Pointer to a 32-bit floating-point value to store.|
||Result as an 16-bit signed integer value.|
OSs16tof32 fast-converts signed 16-bit integer memory into 32-bit floating-point memory in two instructions (using a load and a store).
OSs16tof32Value fast-converts a signed 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.