English
Language : 

CC78K4 Datasheet, PDF (263/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 10 LIBRARY FUNCTIONS
7-31 coshf
Mathematical Functions
FUNCTION
coshf finds cosh.
HEADER
math.h
FUNCTION PROTOTYPE
float coshf (float x) ;
Function
coshf
Arguments
x ... Numeric value to perform
operation
Return Value
Normal ... cosh of x
When overflow occurs, x = ±∞
... HUGE_VAL (with a positive
sign)
x = NaN ... NaN
EXPLANATION
• Calculates cosh of x.
• If x is non-numeric, NaN is returned.
• If x is infinite, positive infinite value is returned.
• If an overflow occurs as a result of the operation, HUGE_VAL with a positive sign is returned and ERANGE is
set to errno.
User’s Manual U15556EJ1V0UM
263