SpiderBasic - Math

Overview

Math library provides basic mathematical functions such as: Cos(), Sin(), Pow(), Log() etc... Almost all these functions work with floats or doubles, i.e. numbers with the .f or .d extensions. If a function is used with a double value as input or output, it will automatically switch to double precision instead of single precision for its calculations.

Command Index

ACos
ACosH
ASin
ASinH
ATan
ATan2
ATanH
Abs
Cos
CosH
Degree
Exp
Infinity
Int
IntQ
IsInfinity
IsNaN
Log
Log10
Mod
NaN
Pow
Radian
Random
RandomSeed
Round
Sign
Sin
SinH
Sqr
Tan
TanH

Example

Math.sb
Reference Manual - Index