Remove real type

strtr strtr at spam.com
Fri Apr 23 16:42:13 PDT 2010


Walter Bright Wrote:

> Don wrote:
> > A simple rule of thumb: if it's an array, use float or double. If it's 
> > not, use real.
> 
> I agree. The only reason to use float or double is to save on storage.

Portability will become more important as evo algos get used more.
Especially in combination with threshold functions.
The computer will generate/optimize all input/intermediate values itself and executing the program on higher precision machines might give totally different outputs.



More information about the Digitalmars-d mailing list