Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Fast midpoint between two integers without overflow. Parent comment
Clojure makes a gesture toward it, literals are automatically promoted but the normal operators don't do it:
user=> (+ 1 9223372036854775807) ;; max signed int64 Execution error (ArithmeticException) at user/eval5 (REPL:1). integer overflow user=> (+ 1 9223372036854775808) ;; one higher
% expr 1 + 9223372036854775807 9223372036854775808 % expr 9223372036854775808 + 1 9223372036854775809
Clojure makes a gesture toward it, literals are automatically promoted but the normal operators don't do it:
9223372036854775809N