r/ProgrammerHumor • • Aug 14 '20

Someone try this

Post image
53.6k Upvotes

433 comments sorted by

View all comments

Show parent comments

195

u/Traxin420 Aug 14 '20

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.