MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/i9llic/someone_try_this/g1gj8pc
r/ProgrammerHumor • u/wtfevenislifelol • Aug 14 '20
433 comments sorted by
View all comments
Show parent comments
195
Then it should be 4 billion not 2.
29 u/jjdmol Aug 14 '20 Plot twist: it uses OCaml on a 32-bit platform. 9 u/Treyzania Aug 14 '20 Jane Street Capital uses OCaml for lots and lots of financial analytics software, actually. 12 u/Proxy_PlayerHD Aug 14 '20 maybe it's a 31 bit int? 7 u/MathSciElec Aug 14 '20 No, OP clearly says it’s a 32-bit integer. 5 u/Proxy_PlayerHD Aug 14 '20 oh how did i overread that 1 u/Texadecimal Aug 15 '20 GP, but perhaps the user just looked up the max of a 32 bit int, not considering or knowing the range difference between the unsigned and signed ints.
29
Plot twist: it uses OCaml on a 32-bit platform.
9 u/Treyzania Aug 14 '20 Jane Street Capital uses OCaml for lots and lots of financial analytics software, actually.
9
Jane Street Capital uses OCaml for lots and lots of financial analytics software, actually.
12
maybe it's a 31 bit int?
7 u/MathSciElec Aug 14 '20 No, OP clearly says it’s a 32-bit integer. 5 u/Proxy_PlayerHD Aug 14 '20 oh how did i overread that
7
No, OP clearly says it’s a 32-bit integer.
5 u/Proxy_PlayerHD Aug 14 '20 oh how did i overread that
5
oh how did i overread that
1
GP, but perhaps the user just looked up the max of a 32 bit int, not considering or knowing the range difference between the unsigned and signed ints.
195
u/Traxin420 Aug 14 '20
Then it should be 4 billion not 2.