Quellcode durchsuchen

*** empty log message ***

florian vor 26 Jahren
Ursprung
Commit
0f2dee71da
2 geänderte Dateien mit 15 neuen und 1 gelöschten Zeilen
  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)
 bug0225.pp   Sigsegv when run with range checks on open arrays
 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