Annotated edit history of
log10(3) version 1, including all changes.
View license author blame.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
EXP |
| |
|
2 |
!!!EXP |
| |
|
3 |
NAME |
| |
|
4 |
SYNOPSIS |
| |
|
5 |
DESCRIPTION |
| |
|
6 |
ERRORS |
| |
|
7 |
CONFORMING TO |
| |
|
8 |
SEE ALSO |
| |
|
9 |
---- |
| |
|
10 |
!!NAME |
| |
|
11 |
|
| |
|
12 |
|
| |
|
13 |
exp, log, log10, pow - exponential, logarithmic and power functions |
| |
|
14 |
!!SYNOPSIS |
| |
|
15 |
|
| |
|
16 |
|
| |
|
17 |
__#include |
| |
|
18 |
__ ''x''__); |
| |
|
19 |
double log(double__ ''x''__); |
| |
|
20 |
double log10(double__ ''x''__); |
| |
|
21 |
double pow(double__ ''x''__, double__ ''y''__); |
| |
|
22 |
__ |
| |
|
23 |
!!DESCRIPTION |
| |
|
24 |
|
| |
|
25 |
|
| |
|
26 |
The __exp()__ function returns the value of e (the base |
| |
|
27 |
of natural logarithms) raised to the power of |
| |
|
28 |
''x''. |
| |
|
29 |
|
| |
|
30 |
|
| |
|
31 |
The __log()__ function returns the natural logarithm of |
| |
|
32 |
''x''. |
| |
|
33 |
|
| |
|
34 |
|
| |
|
35 |
The __log10()__ function returns the base-10 logarithm of |
| |
|
36 |
''x''. |
| |
|
37 |
|
| |
|
38 |
|
| |
|
39 |
The __pow()__ function returns the value of ''x'' |
| |
|
40 |
raised to the power of ''y''. |
| |
|
41 |
!!ERRORS |
| |
|
42 |
|
| |
|
43 |
|
| |
|
44 |
The __log()__ and __log10()__ functions can return the |
| |
|
45 |
following errors: |
| |
|
46 |
|
| |
|
47 |
|
| |
|
48 |
__EDOM__ |
| |
|
49 |
|
| |
|
50 |
|
| |
|
51 |
The argument ''x'' is negative. |
| |
|
52 |
|
| |
|
53 |
|
| |
|
54 |
__ERANGE__ |
| |
|
55 |
|
| |
|
56 |
|
| |
|
57 |
The argument ''x'' is zero. The log of zero is not |
| |
|
58 |
defined. |
| |
|
59 |
|
| |
|
60 |
|
| |
|
61 |
The __pow()__ function can return the following |
| |
|
62 |
error: |
| |
|
63 |
|
| |
|
64 |
|
| |
|
65 |
__EDOM__ |
| |
|
66 |
|
| |
|
67 |
|
| |
|
68 |
The argument ''x'' is negative and ''y'' is not an |
| |
|
69 |
integral value. This would result in a complex |
| |
|
70 |
number. |
| |
|
71 |
!!CONFORMING TO |
| |
|
72 |
|
| |
|
73 |
|
| |
|
74 |
SVID 3, POSIX, BSD 4.3, ISO 9899 |
| |
|
75 |
!!SEE ALSO |
| |
|
76 |
|
| |
|
77 |
|
| |
|
78 |
sqrt(3), cbrt(3) |
| |
|
79 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.