|
CC78K4 Datasheet, PDF (275/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language | |||
|
◁ |
CHAPTER 10 LIBRARY FUNCTIONS
7-43 fabsf
Mathematical Functions
FUNCTION
fabsf returns the absolute value of the floating-point number x.
HEADER
math.h
FUNCTION PROTOTYPE
float fabsf (float x);
Function
fabsf
Arguments
x ... Numeric value to find the
absolute value
Return Value
Normal ... Absolute value of x
When x is non-numeric ... NaN
When x = â0 ... +0
EXPLANATION
⢠Finds the absolute value of x.
⢠If x is non-numeric, NaN is returned.
⢠If x is â0, +0 is returned.
Userâs Manual U15556EJ1V0UM
275
|
▷ |