handling T.min the right way
Frits van Bommel
fvbommel at REMwOVExCAPSs.nl
Mon Mar 19 13:16:34 PDT 2007
Lionello Lunesu wrote:
> "Andrei Alexandrescu (See Website For Email)"
> <SeeWebsiteForEmail at erdani.org> wrote in message
> news:45FEE0BC.4000407 at erdani.org...
>> The right way is to have T.min always return the minimum value (duh) and
>> define a separate property T.min_positive.
>
> Isn't this value sometimes also called "epsilon"? I think double.epsilon
> sounds quite nice :)
Epsilon is already used for a related concept:
".epsilon -- smallest increment to the value 1"
(http://www.digitalmars.com/d/property.html)
More information about the Digitalmars-d
mailing list