Found a bug in dec2hex() in math.e. Looks like a cut-and-paste error. Is this the right place to post such?
In the base-2 conversion section is the following code snippet:
} else if ( base == 2 && (number & 0xFFFFFFFF) == number ) {
while ( number != 0 ) {
digit := (int)(number & 0x7);
result = digit:+result;
number = number >> 1;
number = number & 0x7FFFFFFF;
}
The highlighted text should be changed to 0x1. As is, when converting to binary, you get some pretty strange results. I noticed this while using the Calculator form.
-Robin