fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. double a = double.NaN;
  8. double b = double.NegativeInfinity;
  9. Console.WriteLine(a.CompareTo(b));
  10. }
  11. }
Success #stdin #stdout 0.03s 33888KB
stdin
Standard input is empty
stdout
-1