Re:Fast midpoint between two integers without overflow
by arh68 on Wednesday December 07, 2022 @10:46AM
(#33895667)
Erlang's got them, I'm pretty sure.
[ Parent
| on HN ]
Re:Fast midpoint between two integers without overflow
by OkayPhysicist on Wednesday December 07, 2022 @04:03PM
(#33900202)
Yep, integers on the BEAM are unbounded, since the language was built with "This program will run forever" as a design concern. Indices capping out and causing crashes was not an acceptable state of affairs.