GemaCoreLib
The GeMA Core library
Functions
GmMathUtils Namespace Reference

Groups utilitary routines for working with numbers. More...

Functions

int sign (double a)
 returns the sign of a double
 
char bit_enum_find (unsigned list, unsigned item)
 returns the position of an item in a list
 
bool bit_enum_find (unsigned list, unsigned item, char &pos)
 finds if an item belong to a list and caculates its position
 
char bit_enum_count (unsigned list, unsigned last)
 return the number of itens in a list
 

Detailed Description

Groups utilitary routines for working with numbers.