Skip to content

mathtranslib

Every function of this library is one call of the system’s mathtrans.library, on fast floating point values; the compiler puts the call directly into the program. Angles are in radians. The library also provides the operator ^ for floats.

A program that uses one of these functions opens mathtrans.library at its start. If the library cannot be opened, the program still runs, but a call of one of these functions crashes it.

Library number 192.

Commands

ACos

The arc cosine, an angle in radians.

Function, result .f. Help text: (Float)
Arguments: .f

ASin

The arc sine, an angle in radians.

Function, result .f. Help text: (Float)
Arguments: .f

ATan

The arc tangent, an angle in radians.

Function, result .f. Help text: (Float)
Arguments: .f

Cos

The cosine of an angle in radians.

Function, result .f. Help text: (Float)
Arguments: .f

Exp

The exponential function, e to the power of the value.

Function, result .f. Help text: (Float)
Arguments: .f

HCos

The hyperbolic cosine.

Function, result .f. Help text: (Float)
Arguments: .f

HSin

The hyperbolic sine.

Function, result .f. Help text: (Float)
Arguments: .f

HTan

The hyperbolic tangent.

Function, result .f. Help text: (Float)
Arguments: .f

Log

The natural logarithm.

Function, result .f. Help text: (Float)
Arguments: .f

Log10

The logarithm to the base 10.

Function, result .f. Help text: (Float)
Arguments: .f

Sin

The sine of an angle in radians.

Function, result .f. Help text: (Float)
Arguments: .f

Sqr

The square root.

Function, result .f. Help text: (Float)
Arguments: .f

Tan

The tangent of an angle in radians.

Function, result .f. Help text: (Float)
Arguments: .f