Math Keywords

Action Keywords GB VB6
Integer arithmetic Add, Sub, Mod, Mul, Div v  
Floating point arithmetic Fmod v  
Derive trigonometric functions Sin, Cos,Tan v v
Extended trigonometric functions SinQ CosQ, Acos, Asin, Atn, Atan, Atan2, _hypot v  
Hyperbolic trigonometric functions CosH, SinH, TanH, ArCosH, ArSinH, ArTanH v  
General calculations Exp, Log, Sqr v v
GFA-BASIC 32 general calculations Exp2, Exp10, Log2, Log10, Sqrt, Square, Pow, _j0, _j1, _jn, _y0, _y1, _yn v  
Mantisse LdExp, Mant, GetExp v  
Generate random numbers Randomize, Rnd

Rand

v

v

v
Generate random numbers C-style _rand, _srand v  
Get absolute value Abs v v
Get the sign of an expression Sgn v v
Perform numeric conversions Fix, Int v v
Additional numeric conversions Floor, Ceil, Trunc, Frac v  
Statistics Variat, Combin, Permut v  
Rounding Round, Fround, Qround v  
Minimum and maximum Max, Min, MaxCur, MinCur, MaxI, MinI, iMax, iMin, MaxLarge, MinLarge v  
Odd and Even Odd, Even v  
Incrementing and decrementing Inc, Dec, Incr, Decr, Pred, Succ v  

See Also

Arrays Keywords

Bits, Byte, Word, Int, and Large Operators and Keywords

Collection and Hash Keywords

Conversion Keywords

Matrices Keywords

Miscellaneous Keywords

Operators Keywords

String Manipulation Keywords

Variables and Constants Keywords

{Created by Sjouke Hamstra; Last updated: 21/10/2021 by James Gaite}