Submission timeline
2007–2026One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.
First comments on top threads
HN comment order> DEC64 is intended to be the only number type in the next generation of application programming languages. Please no. There's a very solid case for integers in programming languages: many places in code call for a number which must be an integer: having the type enforce this is nice: you don't need to check and abort (or floor, or whatever) if someone passes you a non-integer. Basically, anything that does an array index, which is any for loop walking…
If you want a default decimal floating-point type, the only defensible choice is the decimal128 type standardized by IEEE 754. It has a fully-defined arithmetic, specified by experts who have spent their careers thinking about the issues involved, and is wide enough to exactly represent the US national debt in every currency used on earth. There are situations where other decimal floating-point types are appropriate, but if you do not understand the tradeoffs you are making, you should be using…
Am I the only one who saw DEC in the title and got excited (perhaps a revival of the DEC Alpha 64 platform)?!?
Why would you ever use floating point for money? You're just asking for rounding errors if you actually use the range, aren't you?
The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.
- Breakout years
- 3
- Total points
- 459
- Total comments
- 359
100+ points or 50+ comments
reference only — not used in Hall rules or ranking
reference only — not used in Hall rules or ranking
Every submission
| Date | Title as submitted | By | Points | Comments |
|---|---|---|---|---|
| 2014-03-08 | DEC64: Decimal Floating PointFirst breakout · Best thread | zakember | 218 | 187 |
| 2015-09-19 | DEC64: Decimal Floating Point | dmmalam | 45 | 56 |
| 2017-06-12 | DEC64: Decimal Floating Point | oridecon | 3 | 0 |
| 2017-07-28 | DEC64: A Decimal Floating Point Number Type Well Suited for Money | mabynogy | 4 | 1 |
| 2018-03-04 | DEC64: Decimal Floating PointHall induction | te | 125 | 78 |
| 2019-06-22 | DEC64 (2014)Latest 20+ point return | tosh | 64 | 37 |
