Bericht überarbeitet
This commit is contained in:
		
							parent
							
								
									0f6dd5b7ae
								
							
						
					
					
						commit
						4952cd83e7
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -6,10 +6,10 @@
 | 
				
			||||||
class Tools
 | 
					class Tools
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
public:
 | 
					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 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:
 | 
					private:
 | 
				
			||||||
	static uint* GrayToBinaryTable;							// gray to binary lookup table
 | 
						static uint* GrayToBinaryTable;							// gray to binary lookup table
 | 
				
			||||||
	static uint GrayToBinaryTableSize;						// size of GrayToBinaryTable
 | 
						static uint GrayToBinaryTableSize;						// size of GrayToBinaryTable
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue