Go to the previous, next section.
Files `builtin.h' and corresponding `.cc' implementation
files contain various convenient
inline and non-inline utility functions. These include useful
enumeration types, such as TRUE
, FALSE
,the type
definition for pointers to libg++ error handling functions, and
the following functions.
long abs(long x); double abs(double x);
int abs(int)
is not declared as inline.
void clearbit(long& x, long b);
void setbit(long& x, long b);
int testbit(long x, long b);
int even(long y);
int odd(long y);
int sign(long x); int sign(double x);
long gcd(long x, long y);
long lcm(long x, long y);
long lg(long x);
long pow(long x, long y); double pow(double x, long y);
long sqr(long x); double sqr(double x);
long sqrt(long y);
unsigned int hashpjw(const char* s);
unsigned int multiplicativehash(int x);
unsigned int foldhash(double x);
double start_timer()
double return_elapsed_time(double last_time)
File `Maxima.h' includes versions of MAX, MIN
for builtin types.
File `compare.h' includes versions of compare(x, y)
for builtin types. These return negative if the first argument
is less than the second, zero for equal, and positive for greater.
Go to the previous, next section.