Skip to content

Math module

  • Atn, Cos, Sin, Tan - trigonometric functions

  • Sqr - take a square root

  • Exp - calculate an exponential with base e

  • Log - calculate the natural (base e) logarithm of a number

  • Sgn - return the sign of a number

  • Abs - returns the absolute value of a number

  • Round - round the number to a given number of decimal places

  • Rnd - generate a random number in the range [0.0, 1.0)

  • Randomize - seed the random number generator

WARNING

Work in Progress Below

Atn

Cos

Sin

Tan

Sqr

Exp

Log

Sgn

Abs

Round

Rnd

Randomize

twinBASIC and LOGO copyright of "WaynePhillipsEA" author