r/programming • u/fagnerbrack • Jul 05 '26
Floating point from scratch: Hard Mode
https://essenceia.github.io/projects/floating_dragon/
154
Upvotes
r/programming • u/fagnerbrack • Jul 05 '26
View all comments
Show parent comment
2
u/nanotree Jul 07 '26
Okay.. but why not? I mean, 64-bit floating point (a.k.a. the double) calculations should have plenty of precision, unless you are dealing with very large sums. 32-bit floating point causes problems, for sure. This is true in video games too, where you need high precision in certain physics calculations.