Mini proposal: rename float.min to float.min_normal

bearophile bearophileHUGS at lycos.com
Sat Oct 24 09:10:44 PDT 2009


Jeremie Pelletier:

> I never use it either, this identifier is rather pointless. Both 
> compilers will still parse both conditions and errors on the branch for 
> the other version.

Sorry, as usual I want not precise enough, I meant I don't like the name of that identifier, but I use that functionality, I use version(D_Version2) when I want to write code that works with both Phobos1 and Phobos2 (so for example I import to!(int, string) from Phobos2 and toInt from Phobos1).

Bye,
bearophile



More information about the Digitalmars-d mailing list