All pastes #629044 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-07-21 22:11 UTC
rendered paste body
#define TLIB_MATH_ABS    "math.abs"    // Absolute value.
#define TLIB_MATH_ACC    "math.acos"   // Arc cosine.
#define TLIB_MATH_ACS    "math.asin"   // Arc sine.
#define TLIB_MATH_ACT    "math.atan"   // Arc tangent.
#define TLIB_MATH_AHC    "math.acosh"  // Hyperbolic arc cosine.
#define TLIB_MATH_AHS    "math.asinh"  // Hyperbolic arc sine.
#define TLIB_MATH_AHT    "math.atanh"  // Hyperbolic arc tangent.
#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_COS    "math.cos"    // Cosine.
#define TLIB_MATH_CSH    "math.cosh"   // Hyperbolic cosine.
#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_SIN    "math.sin"    // Sine.
#define TLIB_MATH_SSH    "math.sinh"   // Hyperbolic sine.
#define TLIB_MATH_SGN    "math.sign"   // Sign change.
#define TLIB_MATH_SQR    "math.sqrt"   // Square root.
#define TLIB_MATH_TAN    "math.tan"    // Tangent. 
#define TLIB_MATH_TSH    "math.tanh"   // Hyperbolic tangent.