fork download
  1. program ideone;
  2. uses math;
  3.  
  4. begin
  5. WriteLn( Sqrt(-1) ); //outputs `Nan`, so it has failed.
  6. end.
Success #stdin #stdout 0s 448KB
stdin
Standard input is empty
stdout
                      Nan