    [NAME]
    ALL.dao.builtin.math

    [TITLE]
    Built-in Math Functions

    [DESCRIPTION]

      *  rand( x : int|float|double )
         Generate a random number of the same type as the parameter between 0 (inclusive)
         and x (exclusive).

      *  ceil( x : double|complex )
         Round to smallest integral value not less than x.
         For complex parameter, the real and imaginary part are rounded separately.

      *  floor( x : double|complex )
         Round to largest integral value not greater than x.
         For complex parameter, the real and imaginary part are rounded separately.

      *  abs( x : int|double )
         Return the absolute value of the parameter.

      *  abs( x : complex )
         Return the magnitude (or modulus, or Euclidean norm) of a complex number.

      *  arg( x : complex )
         Return the phase angle of a complex number.

      *  real( x : complex )
         Return the real part of a complex number.

      *  imag( x : complex )
         Return the imaginary part of a complex number.

      *  norm( x : complex )
         Return the norm value (squared magnitude) of a complex number.

      *  acos( x : double )
         Returns the principal value of the arc cosine of x, expressed in radians.

      *  asin( x : double )
         Returns the principal value of the arc sine of x, expressed in radians.

      *  atan( x : double )
         Returns the principal value of the arc tangent of x, expressed in radians.

      *  cos( x : double )
         Returns the cosine of an angle of x radians.

      *  cos( x : complex )
         Returns the cosine of a complex number.

      *  cosh( x : double )
         Returns the hyperbolic cosine of x radians.

      *  cosh( x : complex )
         Returns the hyperbolic cosine of the complex number.

      *  exp( x : double )
         Returns the base-e exponential value of x.

      *  exp( x : complex )
         Returns the base-e exponential of the complex number.

      *  log( x : double )
         Returns the natural logarithm of x.

      *  log( x : complex )
         Returns the natural logarithm of the complex number.

      *  sin( x : double )
         Returns the sine of an angle of x radians.

      *  sin( x : complex )
         Returns the sine of a complex number.

      *  sinh( x : double )
         Returns the hyperbolic sine of x radians.

      *  sinh( x : complex )
         Returns the hyperbolic sine of the complex number.

      *  tan( x : double )
         Returns the tangent of an angle of x radians.

      *  tan( x : complex )
         Returns the tangent of the complex number.

      *  tanh( x : double )
         Returns the hyperbolic tangent of x radians.

      *  tanh( x : complex )
         Returns the hyperbolic tangent of the complex number.

      *  sqrt( x : double )
         Returns the square root of x.

      *  sqrt( x : complex )
         Returns the square root of x.