Anonymous user
Real constants and functions: Difference between revisions
→{{header|Perl}}
(Added Scala solution) |
|||
Line 1,711:
floor($x); # floor
ceil($x); # ceiling
$x ** $y; # power
use Math::Trig;
pi; # alternate way to get pi</lang>
=={{header|Perl 6}}==
|