fork download
  1. using static System.Console;
  2.  
  3. public class Program {
  4. public static void Main() {
  5. var x = double.MaxValue;
  6. double y = 0;
  7. if (!double.IsPositiveInfinity(x * 2)) y = x * 2;
  8. Write(y);
  9. }
  10. }
  11.  
  12. //https://pt.stackoverflow.com/q/159776/101
Success #stdin #stdout 0.02s 16204KB
stdin
Standard input is empty
stdout
Standard output is empty