nn::math::FNAbs Function

Syntax

f32 FNAbs(
     f32 x
);

Arguments

Name Description
in x Original number.

Return Values

Returns a negative number with the same absolute value as x.

Description

Finds the number whose sign is negative but whose absolute value is the same as the input.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL