Please rid me of this goto

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 24 02:10:29 PDT 2016


On Friday, 24 June 2016 at 09:04:55 UTC, Ola Fosheim Grøstad 
wrote:
> Inf^-1 = 0.0
> Inf^0 = 1.0
> Inf^1 = Inf
>
> :-)

Or actually:

NaN^-epsilon = Nan
Nan^0 = 1.0
NaN^epsilon = Nan

Inf^-epsilon = 0.0
Inf^0 = 1.0
Inf^epsilon = Inf

It is rather difficult to argue that this is reasonable...




More information about the Digitalmars-d mailing list