FNAbs

nn::math::FNAbs Function

Syntax

f32 FNAbs(
     f32 x
);

Parameters

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.

This function uses the standard absf function.

Revision History

2011/08/26
Added text about internal implementation.
2010/01/07
Initial version.

CONFIDENTIAL