80+ Functions PBXB64 Addition
A complete scientific computing toolkit built into the compiler. No external libraries needed. Covers trigonometry, linear algebra, statistics, random numbers, hyperbolic functions, statistical distributions, and more.
Function Reference
SIN / COS / TANTrigonometric (radians)ATN / ATN2Arc-tangent (1-arg, 2-arg)SINH / COSH / TANHHyperbolic functionsASINH / ACOSH / ATANHInverse hyperbolicEXP / LOG / LOG10Exponential, natural log, base-10SQR / CBRTSquare root, cube rootHYPOTHypotenuse: sqrt(x² + y²)ABS / FIX / INTAbsolute, truncate, floorCEIL / FLOOR / ROUNDRounding functionsSGNSign of numberMIN / MAXMinimum / maximumRND / RNDUNIFORM / RNDNORMALUniform & normal randomRANDOMIZE / RNG SEEDSeed random generatorRNDEXP / RNDPOISSONExponential & Poisson randomDETMatrix determinantDOT / NORMVector dot product, Euclidean norm4 * ATN(1)Pi (3.14159...)DEGREES / RADIANSDegrees ↔ radiansGAMMAP / GAMMAQIncomplete gamma functionsABS(x - y) < epsNear-equality testLinear Algebra: DET, DOT, NORM
DET computes the determinant of a square matrix, DOT the dot product of two vectors, and NORM the Euclidean length. All three take whole arrays, written as name().
Random Numbers: RNDUNIFORM, RNDNORMAL, RNG SEED
RNG SEED sets a deterministic seed for reproducible results: reseeding with the same value repeats the sequence. RNDUNIFORM(a, b) returns uniformly distributed and RNDNORMAL(mean, sigma) normally distributed random numbers.
Hyperbolic Functions
Full hyperbolic suite including inverse variants. All implemented natively in the runtime.
ATN2 - Two-Argument Arc-Tangent
ATN2(y, x) returns the angle in the correct quadrant, unlike ATN(y/x) which loses quadrant information.