Real constants and functions: Difference between revisions

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