nn::math::F32ToU16 Function

Syntax

u16 F32ToU16(
     f32 x
);

Arguments

Name Description
in x Value to convert to u16-type.

Return Values

Returns a u16-type value that has the same value as x.

Description

Converts values in f32 format to u16 format.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL