All pastes #630842 Raw Edit

Miscellany

public text v1 · immutable
#630842 ·published 2007-07-23 15:08 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.