douglascrockford/DEC64
View on GitHub ↗ ★ 992 C
Decimal floating point
6 mentions on Hacker News by 6 people: 1 story, 5 comments · first 2014-03-08 · latest 2019-06-23
20082026
-
…numbers faster, you're completely right that the worst case scenario is quite complicated: https://github.com/douglascrockford/DEC64/blob/master/dec64....
comment by windsurfer · 2019-06-23 · in DEC64 (2014) -
Re 1: it is true that there is a single paragraph "discussing" rounding in https://github.com/douglascrockford/DEC64/blob/master/dec64.... -- which is not much. If there is more, I did not find it, and would genuinely appreciate a pointer!…
comment by BlackFingolfin · 2018-03-04 · in DEC64: Decimal Floating Point -
I believe its Douglas Crockford: https://github.com/douglascrockford/DEC64
comment by ballenf · 2018-03-04 · in DEC64: Decimal Floating Point -
▲ 1
Douglas Crockford's DEC64: Decimal Floating Pointstory by ingve · 2016-01-08 · 1 comment
-
…equality by comparing bits. Take a look at the the assembly implementation of equality checking: https://github.com/douglascrockford/DEC64/blob/master/dec64.... The "fast path" (which is ten instruction) applies only if the two numbers…
comment by StefanKarpinski · 2014-03-09 · in DEC64: Decimal Floating Point -
Not a spec, but the reference implementation here: https://github.com/douglascrockford/DEC64
comment by ics · 2014-03-08 · in DEC64: Decimal Floating Point