toString(16) crashes with huge negative number #251
Replies: 4 comments
-
Posted at 2014-04-07 by @gfwilliams Hi. Thanks for letting me know... It's best to post on the issue tracker: www.github.com/espruino/Espruino/issues Do you want to do it - or I can.
Interestingly this appears to be the point at which the number rolls over and becomes positive - so it's large numbers rather than just negatives. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-07 by @gfwilliams Ok, fixed now - it'll be in 1v61 |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-07 by mgg1010 Thanks - I guess that means I don't have to post it as an issue :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-04-08 by @gfwilliams Nope, that's fine ;) Next release should be a good one - there are over 15 fixes in it now - and counting :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2014-04-06 by mgg1010
Hi
I was trying to dump out onewire IDs in Hex. I took the device ID
from ow.search and called toString(16). I think this caused Espurino
to crash.... the device ID was a huge negative number when normally
printed.
Sorry for not quoting the number itself.
Martin
P.S. Where should I post bug reports if not here?
Beta Was this translation helpful? Give feedback.
All reactions