Task

Show how to use the following math constants and functions in your language   (if not available, note it):

   e   (base of the natural logarithm)
   



π


{\displaystyle \pi }


   square root
   logarithm   (any base allowed)
   exponential   (ex )
   absolute value   (a.k.a. "magnitude")
   floor   (largest integer less than or equal to this number--not the same as truncate or int)
   ceiling   (smallest integer not less than this number--not the same as round up)
   power   (xy )


Related task

   Trigonometric Functions


import: math
 
: testReal
   E println
   Pi println
   9 sqrt println
   2 ln println
   2 exp println
   -3.4 abs println
   3.4 exp println
 
   2.4 floor println
   3.9 floor println
   5.5 floor println
  -2.4 floor println
  -3.9 floor println
  -5.5 floor println
 
   2.4 ceil println
   3.9 ceil println
   5.5 ceil println
  -2.4 ceil println
  -3.9 ceil println
  -5.5 ceil println ;