* @brief Provides basic mathematical operations on values represented as strings.
* @date 2003
* @author Mathias Heil
- * @version $Id$
*/
#include "config.h"
};
/** converting a digit to a binary string */
-static const char *binary_table[16] = {
+static char const *const binary_table[] = {
"0000", "0001", "0010", "0011", "0100", "0101", "0110", "0111",
"1000", "1001", "1010", "1011", "1100", "1101", "1110", "1111"
};
/* get ready for the next letter */
str++;
len--;
- } /* while (len > 0 ) */
+ }
if (sign < 0)
do_negate((const char*) buffer, (char*) buffer);