Download RH850 Coding - Renesas Electronics

Transcript
CubeSuite+ V2.01.00
CHAPTER 6 FUNCTIONAL SPECIFICATIONS
logf
Logarithmic function (natural logarithm)
[Classification]
Mathematical library
[Syntax]
#include <mathf.h>
float logf(float x);
[Return value]
Returns the natural logarithm of x.
logf returns a Not a Nuber(NaN) and sets macro EDOM to global variable errno if x is negative. If x is zero, it returns ∞ and sets macro ERANGE to global variable errno.
[Description]
This function calculates the natural logarithm of x, i.e., logarithm with base e.
R20UT2584EJ0101 Rev.1.01
Sep 01, 2013
Page 621 of 751