Parcourir la source

* enabled for darwin and solaris
- removed superfluous call to cosh() which caused fpu overflows

git-svn-id: trunk@4571 -

Jonas Maebe il y a 19 ans
Parent
commit
27df719ac3
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      tests/test/testfpuc.pp

+ 1 - 2
tests/test/testfpuc.pp

@@ -1,4 +1,4 @@
-{ %target=linux,freebsd }
+{ %target=linux,freebsd,darwin,solaris }
 
 {$mode objfpc}
 program testr;
@@ -29,7 +29,6 @@ begin
     f:=f*10.0;
     f:=cosh(f);
     writeln(buf,round(F));
-    f:=cosh(f);
     end;
 end;