![]() |
GemaCoreLib
The GeMA Core library
|
Utilitary functions for working with numbers. More...
#include "gmLog.h"
Go to the source code of this file.
Namespaces | |
GmMathUtils | |
Groups utilitary routines for working with numbers. | |
Functions | |
int | GmMathUtils::sign (double a) |
returns the sign of a double | |
char | GmMathUtils::bit_enum_find (unsigned list, unsigned item) |
returns the position of an item in a list | |
bool | GmMathUtils::bit_enum_find (unsigned list, unsigned item, char &pos) |
finds if an item belong to a list and caculates its position | |
char | GmMathUtils::bit_enum_count (unsigned list, unsigned last) |
return the number of itens in a list | |
Utilitary functions for working with numbers.