|
EX long double | hr::sqr (long double x) |
|
EX ld | hr::round_nearest (ld x) |
|
EX ld | hr::round_nearest (ld x, ld multiple_of) |
|
EX int | hr::gcd (int i, int j) |
|
int | hr::gmod (int i, int j) |
|
int | hr::zgmod (int a, int b) |
|
EX int | hr::szgmod (int a, int b) |
|
EX int | hr::gdiv (int i, int j) |
|
EX ld | hr::frac (ld x) |
|
EX ld | hr::lerp (ld a0, ld a1, ld x) |
|
EX ld | hr::ilerp (ld a0, ld a1, ld x) |
|
EX string | hr::simplify (const string &s) |
|
EX bool | hr::appears (const string &haystack, const string &needle) |
|
EX ld | hr::parseld (const string &s) |
|
EX string | hr::parser_help () |
|
EX bignum | hr::hrand (bignum b) |
|
EX void | hr::operator++ (bignum &b, int) |
|
EX void | hr::operator-- (bignum &b, int) |
|
EX string | hr::short_form (bignum b) |
|
EX string | hr::compress_string (string s) |
|
EX string | hr::decompress_string (string s) |
|
basic utility functions: maths, parsing expressions