3 ms·
I remember a programmer once griping that you still need to be careful with floats, and that double-precision still did not have neough significant digits to st
by joshu 17y ago
I remember a programmer once griping that you still need to be careful with floats, and that double-precision still did not have neough significant digits to store the dollar to turkish lira conversion rate..
- jacquesm 17y agoIf you need floats you don't understand your problem ;)
- calcnerd256 17y agounless you're doing realtime graphics
- jacquesm 17y agoNo, you can do realtime graphics just fine with fixed point arithmetic. You can do nice matrix and vector math entirely in 16.16 fixed point. It's not as fast as having a co-processor, but there was a time that those were not standard items.
- blasdel 17y agoThe problem is not with precision, but in using floats to represent money. Why in the fuck would you try to do financial math with anything but fixed-point or rational numbers?