logoalt Hacker News

chrisjjyesterday at 5:28 PM2 repliesview on HN

> Programmers were grateful for the move from 32-bit floats to 64-bit floats. It doesn’t hurt to have more precision

Someome didn't try it on GPU...


Replies

kimixayesterday at 8:24 PM

Even the latest CPUs have a 2:1 fp64:fp32 performance ratio - plus the effects of 2x the data size in cache and bandwidth use mean you can often get greater than a 2x difference.

If you're in a numeric heavy use case that's a massive difference. It's not some outdated "Ancient Lore" that causes languages that care about performance to default to fp32 :P

show 2 replies
Sharlinyesterday at 10:38 PM

Yeah, and even on CPU using doubles is almost unheard of in many fields.