Download 78K0 Coding - Renesas Electronics
Transcript
CubeSuite+ V1.01.00 CHAPTER 6 FUNCTION SPECIFICATIONS log (normal model only) Finds the natural logarithm [Syntax] #include <math.h> double log (double x) ; [Argument(s)/Return value] Argument x: Numeric value to perform operation Return Value Normal : Natural logarithm of x When x <= 0 : HUGE_VAL (with negative sign) When x = NaN : NaN When x is infinite : +∞ [Description] - Finds natural logarithm of x. - In the case of area error of x < 0, HUGE_VAL with a negative sign is returned, EDOM is set to errno. - If x = 0, HUGE_VAL with a negative sign is returned, and ERANGE is set to errno. - If x is non-numeric, NaN is returned. - If x is +∞, +∞ is returned. R20UT0782EJ0100 Rev.1.00 Oct 01, 2011 Page 718 of 836
Related documents
CubeSuite Ver.1.30 Integrated Development Environment 78K0
uPD78F0828B 8-bit Single-Chip Microcontroller Flash Self
CA850 Ver. 3.20 C Compiler Package C Language UM
78K0/Kx2 8-Bit Single-Chip Microcontrollers Flash Memory
Renesas Starter Kit for RSK+RX64M Code Generator Tutorial Manual
RL78,78K0R Coding - Renesas Electronics
CubeSuite+ V1.00.00 Integrated Development Environment User`s
CubeSuite Ver.1.40 Integrated Development Environment User`s
CubeSuite+ V2.00.00 Integrated Development Environment User`s
RH850 Build - Renesas Electronics