Win7 calculator side effect of programmer mode
The 64bit value of 0xFFFFFFFFFFFFFFFF is converted into decimal value of "18446744073709551615" with a call to printf("%llu"). This value given to the windows 7 calculator in programmer mode, is truncated of its last digit. Thus converting it into hexa gives 1999999999999999, which leads poor programmers we are to incromprehension. In earlier versions of the calculator (under XP) the decimal value was not truncated, and the convertion into hexa ran well. I guess all this shit has concerns with signed representations of values, 0xFFFFFFFFFFFFFFFF converted into decimal giving -1 with the Win7 calculator. But I found no options that allow me to express my decimal representations as unsigned one. Bye fellow coders.
May 5th, 2011 5:48am

Hi, It seems that Windows 7 calculator cannot support the unsigned mode, I would report this issue to product team. Thanks for feedback. Alex ZhaoPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
May 9th, 2011 7:32am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics