All pastes #631371 Raw Edit

Stuff

public text v1 · immutable
#631371 ·published 2007-07-23 22:09 UTC
rendered paste body
#define TLIB_MATH_ABS    "math.abs"     // Absolute value.
#define TLIB_MATH_AVG    "math.avg"     // Average value.
#define TLIB_MATH_BAS    "math.base"    // Base conversion.
#define TLIB_MATH_CBR    "math.cbrt"    // Cube root.
#define TLIB_MATH_CIL    "math.ceil"    // Round value up.
#define TLIB_MATH_DEC    "math.dec"     // Decrement value.
#define TLIB_MATH_EXP    "math.exp"     // Exponent.
#define TLIB_MATH_FLR    "math.floor"   // Round value down.
#define TLIB_MATH_INC    "math.inc"     // Increment value.
#define TLIB_MATH_LOG    "math.log"     // Logarithm.
#define TLIB_MATH_MAX    "math.max"     // Max value.
#define TLIB_MATH_MIN    "math.min"     // Min value.
#define TLIB_MATH_RAM    "math.rand"    // Random number.
#define TLIB_MATH_RND    "math.round"   // Round to next integer.
#define TLIB_MATH_SGN    "math.sign"    // Sign change.
#define TLIB_MATH_SQR    "math.sqrt"    // Square root.

#define TLIB_TRIG_SIN     "trig.sin"     // Sine.
#define TLIB_TRIG_COS     "trig.cos"     // Cosine.
#define TLIB_TRIG_TAN     "trig.tan"     // Tangent. 
#define TLIB_TRIG_SEC     "trig.sec"     // Secant.
#define TLIB_TRIG_COSEC   "trig.cosec"   // Cosecant.
#define TLIB_TRIG_COTAN   "trig.cotan"   // Cotangent.
#define TLIB_TRIG_ASIN    "trig.asin"    // Arc sine.
#define TLIB_TRIG_ACOS    "trig.acos"    // Arc cosine.
#define TLIB_TRIG_ATAN    "trig.atan"    // Arc tangent.
#define TLIB_TRIG_ASEC    "trig.asec"    // Arc secant.
#define TLIB_TRIG_ACOSEC  "trig.acosec"  // Arc cosecant.
#define TLIB_TRIG_ACOTAN  "trig.acotan"  // Arc cotangent.
#define TLIB_TRIG_HSIN    "trig.sinh"    // Hyperbolic sine.
#define TLIB_TRIG_HCOS    "trig.cosh"    // Hyperbolic cosine.
#define TLIB_TRIG_HTAN    "trig.tanh"    // Hyperbolic tangent.
#define TLIB_TRIG_HSEC    "trig.sech"    // Hyperbolic secant.
#define TLIB_TRIG_HCOSEC  "trig.cosech"  // Hyperbolic cosecant.
#define TLIB_TRIG_HCOTAN  "trig.cotanh"  // Hyperbolic cotangent.
#define TLIB_TRIG_HASIN   "trig.asinh"   // Hyperbolic arc sine.
#define TLIB_TRIG_HACOS   "trig.acosh"   // Hyperbolic arc cosine.
#define TLIB_TRIG_HATAN   "trig.atanh"   // Hyperbolic arc tangent.
#define TLIB_TRIG_HASEC   "trig.asech"   // Hyperbolic arc secant.
#define TLIB_TRIG_HACOSEC "trig.acosech" // Hyperbolic arc cosecant.
#define TLIB_TRIG_HACOTAN "trig.acotanh" // Hyperbolic arc cotangent.