Răsfoiți Sursa

*** empty log message ***

florian 26 ani în urmă
părinte
comite
0f2dee71da
2 a modificat fișierele cu 15 adăugiri și 1 ștergeri
  1. 12 0
      bugs/bug0230.pp
  2. 3 1
      bugs/readme.txt

+ 12 - 0
bugs/bug0230.pp

@@ -0,0 +1,12 @@
+uses
+   dpmiexcp;
+
+var
+   e : extended;
+
+begin
+ e:=0.0;
+ writeln(ln(e));
+ writeln(ln(0));
+ writeln(power(0,1.0));
+end .

+ 3 - 1
bugs/readme.txt

@@ -310,4 +310,6 @@ bug0221.pp   syntax parsing incompatibilities with tp7
 bug0222.pp   an record field can't be the counter index (compiles with TP)
 bug0222.pp   an record field can't be the counter index (compiles with TP)
 bug0225.pp   Sigsegv when run with range checks on open arrays
 bug0225.pp   Sigsegv when run with range checks on open arrays
 bug0227.pp   external var does strange things when declared in localsymtable
 bug0227.pp   external var does strange things when declared in localsymtable
-bug0229.pp   consts > 255 are truncated (should work in -S2,-Sd)
+bug0229.pp   consts > 255 are truncated (should work in -S2,-Sd)
+bug0230.pp   several strange happen on the ln function: ln(0): no
+             FPE and writeln can't write non numeric values