as: TIC54X-Builtins

 
 9.44.7 Math Builtins
 --------------------
 
 The following built-in functions may be used to generate a
 floating-point value.  All return a floating-point value except '$cvi',
 '$int', and '$sgn', which return an integer value.
 
 '$acos(EXPR)'
      Returns the floating point arccosine of EXPR.
 
 '$asin(EXPR)'
      Returns the floating point arcsine of EXPR.
 
 '$atan(EXPR)'
      Returns the floating point arctangent of EXPR.
 
 '$atan2(EXPR1,EXPR2)'
      Returns the floating point arctangent of EXPR1 / EXPR2.
 
 '$ceil(EXPR)'
      Returns the smallest integer not less than EXPR as floating point.
 
 '$cosh(EXPR)'
      Returns the floating point hyperbolic cosine of EXPR.
 
 '$cos(EXPR)'
      Returns the floating point cosine of EXPR.
 
 '$cvf(EXPR)'
      Returns the integer value EXPR converted to floating-point.
 
 '$cvi(EXPR)'
      Returns the floating point value EXPR converted to integer.
 
 '$exp(EXPR)'
      Returns the floating point value e ^ EXPR.
 
 '$fabs(EXPR)'
      Returns the floating point absolute value of EXPR.
 
 '$floor(EXPR)'
      Returns the largest integer that is not greater than EXPR as
      floating point.
 
 '$fmod(EXPR1,EXPR2)'
      Returns the floating point remainder of EXPR1 / EXPR2.
 
 '$int(EXPR)'
      Returns 1 if EXPR evaluates to an integer, zero otherwise.
 
 '$ldexp(EXPR1,EXPR2)'
      Returns the floating point value EXPR1 * 2 ^ EXPR2.
 
 '$log10(EXPR)'
      Returns the base 10 logarithm of EXPR.
 
 '$log(EXPR)'
      Returns the natural logarithm of EXPR.
 
 '$max(EXPR1,EXPR2)'
      Returns the floating point maximum of EXPR1 and EXPR2.
 
 '$min(EXPR1,EXPR2)'
      Returns the floating point minimum of EXPR1 and EXPR2.
 
 '$pow(EXPR1,EXPR2)'
      Returns the floating point value EXPR1 ^ EXPR2.
 
 '$round(EXPR)'
      Returns the nearest integer to EXPR as a floating point number.
 
 '$sgn(EXPR)'
      Returns -1, 0, or 1 based on the sign of EXPR.
 
 '$sin(EXPR)'
      Returns the floating point sine of EXPR.
 
 '$sinh(EXPR)'
      Returns the floating point hyperbolic sine of EXPR.
 
 '$sqrt(EXPR)'
      Returns the floating point square root of EXPR.
 
 '$tan(EXPR)'
      Returns the floating point tangent of EXPR.
 
 '$tanh(EXPR)'
      Returns the floating point hyperbolic tangent of EXPR.
 
 '$trunc(EXPR)'
      Returns the integer value of EXPR truncated towards zero as
      floating point.