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 system'math;
import extensions;
 
public program()
{
    console.printLine(E_value);       //E
    console.printLine(Pi_value);      //PI
    console.printLine(10.sqrt());     //Square Root        
    console.printLine(10.ln());       //Logarithm        
    console.printLine(10.log10());    // Base 10 Logarithm
    console.printLine(10.exp());      //Exponential       
    console.printLine(10.Absolute); //Absolute value
    console.printLine(10.0r.floor()); //Floor
    console.printLine(10.0r.ceil());  //Ceiling    
    console.printLine(2.power(5));    //Exponentiation    
}