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...
Ola Fosheim Grøstad via Digitalmars-d Fri, 24 Jun 2016 02:17:29 -0700
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...