Bericht überarbeitet

This commit is contained in:
Jonny007-MKD 2014-01-20 20:16:26 +01:00
parent 0f6dd5b7ae
commit 4952cd83e7
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View file

@ -6,10 +6,10 @@
class Tools
{
public:
static char* Tools::BinaryToChars(uint x, char length); // convert a number to a string in it's binary representation
static char* Tools::BinaryToChars(uint x, char length); // convert a number to a string in its binary representation
static uint GrayToBinary(uint x); // convert a gray number back to binary using a lookup table
static bool compareAsGray(uint a, uint b); // compary towo gray numbers (convert it first)
static bool compareAsGray(uint a, uint b); // compary two gray numbers (convert it first)
private:
static uint* GrayToBinaryTable; // gray to binary lookup table
static uint GrayToBinaryTableSize; // size of GrayToBinaryTable