Download avr-libc Reference Manual

Transcript
6.16
<math.h>: Mathematics
61
If the resultant value would cause an overflow, the global variable errno is set to
ERANGE, and the value NaN is returned.
6.16.3.16
double log (double __x)
The log() function returns the natural logarithm of argument x.
If the argument is less than or equal 0, a domain error will occur.
6.16.3.17
double log10 (double __x)
The log10() function returns the logarithm of argument x to base 10.
If the argument is less than or equal 0, a domain error will occur.
6.16.3.18
double modf (double __value, double ∗ __iptr)
The modf() function breaks the argument value into integral and fractional parts,
each of which has the same sign as the argument. It stores the integral part as a double
in the object pointed to by iptr.
The modf() function returns the signed fractional part of value.
6.16.3.19
double pow (double __x, double __y)
The function pow() returns the value of x to the exponent y.
6.16.3.20
double sin (double __x)
The sin() function returns the sine of x, measured in radians.
6.16.3.21
double sinh (double __x)
The sinh() function returns the hyperbolic sine of x.
6.16.3.22
double sqrt (double __x)
The sqrt() function returns the non-negative square root of x.
6.16.3.23
double square (double __x)
The function square() returns x ∗ x.
Note:
This function does not belong to the C standard definition.
Generated on Mon Oct 9 22:30:53 2006 for avr-libc by Doxygen