In today's edition of "oh my god everything is so freaking interconnected", I learned a W I L D thing about JavaScript's parseInt function:
-
-
As opposed to strtol which exposes this part of the outcome via *endptr.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Yes. In that regard it is as bad as libc atoi(). But most of the really insensible parts of JS are wrt types and automatic type conversion.
-
atoi is somewhat worse because it summons nasal demons if the input is invalid or outside the range of int...
-
So for comparison remind me please: What's exactly the "range of an int" in javascript again? :) Oh, right..pic.twitter.com/8WXWOud70m
End of conversation
New conversation -
-
-
ull = unsigned long long no?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.