![]() |
My Project
debian-1:4.1.2-p1+ds-2
|
miscellaneous functions, not necessarily related to canonical forms. More...
Go to the source code of this file.
Functions | |
int | ipower (int b, int m) |
int ipower ( int b, int m ) More... | |
int | ilog2 (int a) |
int | igcd (int a, int b) |
void | factoryError_intern (const char *s) |
Variables | |
VAR void(* | factoryError )(const char *s) = factoryError_intern |
miscellaneous functions, not necessarily related to canonical forms.
Used by: fac_cantzass.cc, gfops.cc
Definition in file cf_util.cc.
void factoryError_intern | ( | const char * | s | ) |
Definition at line 71 of file cf_util.cc.
int igcd | ( | int | a, |
int | b | ||
) |
int ilog2 | ( | int | a | ) |
Definition at line 41 of file cf_util.cc.
int ipower | ( | int | b, |
int | m | ||
) |
int ipower ( int b, int m )
ipower() - calculate b^m in standard integer arithmetic.
Note: Beware of overflows.
Definition at line 26 of file cf_util.cc.
VAR void(* factoryError) (const char *s) | ( | const char * | s | ) | = factoryError_intern |
Definition at line 76 of file cf_util.cc.