mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 10:49:29 +02:00
* reset fpucw in system startup
git-svn-id: trunk@543 -
This commit is contained in:
parent
3700aa1b80
commit
2654bf6a16
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -6105,6 +6105,7 @@ tests/webtbs/tw4058.pp svneol=native#text/plain
|
||||
tests/webtbs/tw4078.pp svneol=native#text/plain
|
||||
tests/webtbs/tw4089.pp svneol=native#text/plain
|
||||
tests/webtbs/tw4093.pp svneol=native#text/plain
|
||||
tests/webtbs/tw4100.pp svneol=native#text/plain
|
||||
tests/webtbs/tw4115.pp svneol=native#text/plain
|
||||
tests/webtbs/tw4140.pp svneol=native#text/plain
|
||||
tests/webtbs/ub1873.pp svneol=native#text/plain
|
||||
|
@ -225,6 +225,7 @@ end;
|
||||
|
||||
|
||||
Begin
|
||||
SysResetFPU;
|
||||
IsConsole := TRUE;
|
||||
IsLibrary := FALSE;
|
||||
StackLength := InitialStkLen;
|
||||
|
21
tests/webtbs/tw4100.pp
Executable file
21
tests/webtbs/tw4100.pp
Executable file
@ -0,0 +1,21 @@
|
||||
{ %result=217 }
|
||||
|
||||
{ Source provided for Free Pascal Bug Report 4100 }
|
||||
{ Submitted by "Markus Roberts" on 2005-06-20 }
|
||||
{ e-mail: Markus@reality.com }
|
||||
{$linklib c}
|
||||
|
||||
uses SysUtils;
|
||||
var
|
||||
X,Y,Z : Extended;
|
||||
I : integer;
|
||||
begin
|
||||
X := 0.0;
|
||||
Y := 1.0;
|
||||
Z := Y/X;
|
||||
I := 7;
|
||||
writeln('test');
|
||||
writeln(StrToFloat('1e7'));
|
||||
writeln(Z);
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user