mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 05:09:17 +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/tw4078.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw4089.pp svneol=native#text/plain
|
tests/webtbs/tw4089.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw4093.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/tw4115.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw4140.pp svneol=native#text/plain
|
tests/webtbs/tw4140.pp svneol=native#text/plain
|
||||||
tests/webtbs/ub1873.pp svneol=native#text/plain
|
tests/webtbs/ub1873.pp svneol=native#text/plain
|
||||||
|
@ -225,6 +225,7 @@ end;
|
|||||||
|
|
||||||
|
|
||||||
Begin
|
Begin
|
||||||
|
SysResetFPU;
|
||||||
IsConsole := TRUE;
|
IsConsole := TRUE;
|
||||||
IsLibrary := FALSE;
|
IsLibrary := FALSE;
|
||||||
StackLength := InitialStkLen;
|
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