Skip to content

Comment on Ask HN: largest number you've had to store in an application?

Comments

I used to work for an egg wholesaler. We paid the farmers by the egg according to grade. We accounted in eggs.

Do you know how many eggs are sold in the UK?

We had to write a special class to handle eggs because we blew the unsigned integer on a VAX.

Bignums, my friend. BCD is also good for real-world numbers, like money or eggs.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.