Real constants and functions: Difference between revisions
Content added Content deleted
(add E example) |
Underscore (talk | contribs) (→{{header|Perl}}: Added examples and reformatted a bit) |
||
Line 183: | Line 183: | ||
<perl>use POSIX; |
<perl>use POSIX; |
||
exp(1); # e |
|||
4 * atan2(1, 1); # pi |
|||
⚫ | |||
sqrt($x); # square root |
|||
⚫ | |||
⚫ | |||
exp($x); # exponential |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|PHP}}== |
=={{header|PHP}}== |