Main Page | Class Hierarchy | Class List | File List | Class Members

LIBCP::Misc Class Reference

provides miscelanous convenience functions More...

#include <misc.h>

List of all members.

Static Public Member Functions

bool isPowerOfTwo (double number, int &m)


Detailed Description

provides miscelanous convenience functions


Member Function Documentation

bool LIBCP::Misc::isPowerOfTwo double  number,
int &  m
[inline, static]
 

Checks if the given number is of power of 2 number is the number to be checked m is asigned the power value, thus number = 2^m


The documentation for this class was generated from the following file:
Generated on Wed May 26 16:43:53 2004 for libcp by doxygen 1.3.7