SIMPOL Documentation

Chapter 54. mathlib

The mathlib supplies the various math routines used by certain packages, such as the trigonometric functions: pi(), sin(), cos(), tan(), cosecant(), secant(), cotangetn(), arcsin(), arccos(), and arctan(), as well as the degrees_to_radians() and radians_to_degrees() functions for converting back and forth from these two unit types. It also supplies ceil(), floor(), factorial(), sqrt() abs(), int(), and others.

abs()

Description

Prototype

abs ( anyvalue n )

Parameters

ParameterDefault valueType nameDescription
nNoneanyvalue