GemaCoreLib
The GeMA Core library
Namespaces | Functions
gmMathUtils.h File Reference

Utilitary functions for working with numbers. More...

#include "gmLog.h"
Include dependency graph for gmMathUtils.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
 

Detailed Description

Utilitary functions for working with numbers.

Author
Murillo Vinícius Bento Santana
Date
september, 2015