RosettaCodeData/Task/Infinity/Nemerle/infinity.nemerle

5 lines
183 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
def posinf = double.PositiveInfinity;
def a = IsInfinity(posinf); // a = true
def b = IsNegativeInfinity(posinf); // b = false
def c = IsPositiveInfinity(posinf); // c = true