My Project
|
#include "globaldefs.h"
Go to the source code of this file.
Functions | |
int | ilog2 (int a) |
int | igcd (int a, int b) |
int FACTORY_PUBLIC | ipower (int b, int n) |
int ipower ( int b, int m ) More... | |
void | factoryError_intern (const char *s) |
Variables | |
EXTERN_VAR void(* | factoryError )(const char *s) |
void factoryError_intern | ( | const char * | s | ) |
Definition at line 75 of file cf_util.cc.
int igcd | ( | int | a, |
int | b | ||
) |
int ilog2 | ( | int | a | ) |
Definition at line 42 of file cf_util.cc.
int FACTORY_PUBLIC 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 27 of file cf_util.cc.