logoalt Hacker News

Double-double: 31 digits of precision without leaving the FPU

34 pointsby iliketrainslast Sunday at 7:25 PM8 commentsview on HN

Comments

tobias2014today at 3:54 PM

AI has rediscovered https://www.davidhbailey.com/dhbsoftware/ and similar? Or are there algorithmic improvements? Without referencing established double-double work it's hard to know.

aapplebytoday at 3:56 PM

Fun fact - Google Maps does something similar to this in WebGL in order to keep accurate coordinates across a planet-sized map using only 32-bit floats.

ncrucestoday at 5:41 PM

I have a Go library implementing double-double arithmetic (and also exponentials, logarithms, trigonometry...): https://github.com/ncruces/dbldbl

Mostly useless, but was quite fun to write.

wolfdtoday at 4:41 PM

Could be a neat post, but it was too obviously LLM-generated for me to care about reading it deeply. I’m really fine with people using LLMs to write code and understand stuff, but at least drop a disclaimer when you’re blogging straight Claude text.

nickdothuttontoday at 7:24 PM

At least Dekker is referenced.

Scene_Cast2today at 5:45 PM

If you need that precision, especially for position and not values, why use floats at all?

squiffsquifftoday at 4:58 PM

Could call it... 'a Hamburglar'

akomtutoday at 5:37 PM

Reads like AI slop. It circles around the point, uses C# examples while talking about FPU, duplicates examples and so on.