Real constants and functions: Difference between revisions
Content added Content deleted
(→Pascal: standardize, →Delphi: shorten and make reference to →Pascal: , insert →Free Pascal: [reference to →Delphi: ]) |
(→Pascal: fix minor inaccuracy) |
||
Line 2,267: | Line 2,267: | ||
base ** exponent</lang> |
base ** exponent</lang> |
||
<tt>Exp</tt>, <tt>sqrt</tt>, <tt>ln</tt>, and <tt>exp</tt> return <tt>real</tt> values, but a <tt>complex</tt> value if supplied with a <tt>complex</tt> value. |
<tt>Exp</tt>, <tt>sqrt</tt>, <tt>ln</tt>, and <tt>exp</tt> return <tt>real</tt> values, but a <tt>complex</tt> value if supplied with a <tt>complex</tt> value. |
||
<tt>Abs</tt> |
<tt>Abs</tt> returns an <tt>integer</tt> value if supplied with an <tt>integer</tt>, otherwise a <tt>real</tt> value. |
||
=={{header|Perl}}== |
=={{header|Perl}}== |