| Rev | Author | # | Line |
|---|---|---|---|
| 1 | perry | 1 | !!!EXP |
| 2 | JohnMcPherson | 2 | |
| 1 | perry | 3 | ---- |
| 4 | !!NAME | ||
| 5 | |||
| 6 | |||
| 7 | exp, log, log10, pow - exponential, logarithmic and power functions | ||
| 8 | !!SYNOPSIS | ||
| 9 | |||
| 10 | |||
| 11 | __#include | ||
| 12 | __ ''x''__); | ||
| 13 | double log(double__ ''x''__); | ||
| 14 | double log10(double__ ''x''__); | ||
| 15 | double pow(double__ ''x''__, double__ ''y''__); | ||
| 16 | __ | ||
| 17 | !!DESCRIPTION | ||
| 18 | |||
| 19 | |||
| 20 | The __exp()__ function returns the value of e (the base | ||
| 21 | of natural logarithms) raised to the power of | ||
| 22 | ''x''. | ||
| 23 | |||
| 24 | |||
| 25 | The __log()__ function returns the natural logarithm of | ||
| 26 | ''x''. | ||
| 27 | |||
| 28 | |||
| 29 | The __log10()__ function returns the base-10 logarithm of | ||
| 30 | ''x''. | ||
| 31 | |||
| 32 | |||
| 33 | The __pow()__ function returns the value of ''x'' | ||
| 34 | raised to the power of ''y''. | ||
| 2 | JohnMcPherson | 35 | |
| 1 | perry | 36 | !!ERRORS |
| 37 | |||
| 38 | The __log()__ and __log10()__ functions can return the | ||
| 39 | following errors: | ||
| 40 | |||
| 41 | |||
| 2 | JohnMcPherson | 42 | ;[EDOM]: The argument ''x'' is negative. |
| 1 | perry | 43 | |
| 44 | |||
| 2 | JohnMcPherson | 45 | ;[ERANGE]: The argument ''x'' is zero. The log of zero is not defined. |
| 1 | perry | 46 | |
| 47 | |||
| 48 | The __pow()__ function can return the following | ||
| 49 | error: | ||
| 50 | |||
| 51 | |||
| 2 | JohnMcPherson | 52 | ;[EDOM]: The argument ''x'' is negative and ''y'' is not an integral value. This would result in a complex number. |
| 1 | perry | 53 | |
| 54 | !!CONFORMING TO | ||
| 55 | |||
| 56 | |||
| 57 | SVID 3, POSIX, BSD 4.3, ISO 9899 | ||
| 58 | !!SEE ALSO | ||
| 59 | |||
| 60 | |||
| 61 | sqrt(3), cbrt(3) | ||
| 62 | ---- |
lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 3 times)