Created
June 24, 2015 09:22
-
-
Save odrobnik/af33e5f7b9225f4c9398 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bug in iOS 7, apparently fixed in iOS 8 | |
on 64bit iOS devices: | |
NSDecimalNumber *number = [NSDecimalNumber decimalNumberWithMantissa:10665181101155388760u exponent:0 isNegative:NO]; | |
(lldb) po number | |
10665181101155388760 | |
(lldb) po number.unsignedLongLongValue | |
10665181101155387392 | |
(lldb) po number.unsignedIntegerValue | |
10665181101155387392 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment