tb0044.pp 402 B

12345678910111213141516171819
  1. { %maxversion=1.0.99 }
  2. { %FAIL }
  3. { Old file: tbf0230.pp }
  4. { several strange happen on the ln function: ln(0): no FPE and writeln can't write non numeric values Gives out an exception on compiling because of zero div OK 0.99.11 (PM) }
  5. {
  6. This test is only for 1.0.x.
  7. 1.1+ supports Nan and Inf
  8. }
  9. var
  10. e : extended;
  11. begin
  12. e:=-1.0;
  13. writeln(ln(0));
  14. writeln(power(0,1.0));
  15. writeln(ln(e));
  16. end .