3 ms·
> Why use doubles when singles are okay? Because of rounding issues, that look like a no problem for a single precision number, but will be a no problem^2 for
by marcosdumay 13y ago
> Why use doubles when singles are okay?
Because of rounding issues, that look like a no problem for a single precision number, but will be a no problem^2 for a double precision one. Thus, if I'm wrong (or get wrong after a change in scope), the program will still work.
- cwp 13y agoWell, if you need more precision than singles provide, then yeah, use doubles. The question was, "why use doubles when singles are okay?"