mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 06:29:38 +02:00
* test for floating point precision conversion
git-svn-id: trunk@5756 -
This commit is contained in:
parent
97ea643cae
commit
555e887ea3
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -6243,6 +6243,7 @@ tests/tbs/tb0515.pp svneol=native#text/plain
|
|||||||
tests/tbs/tb0516.pp svneol=native#text/plain
|
tests/tbs/tb0516.pp svneol=native#text/plain
|
||||||
tests/tbs/tb0517.pp svneol=native#text/plain
|
tests/tbs/tb0517.pp svneol=native#text/plain
|
||||||
tests/tbs/tb0518.pp svneol=native#text/plain
|
tests/tbs/tb0518.pp svneol=native#text/plain
|
||||||
|
tests/tbs/tb0519.pp svneol=native#text/plain
|
||||||
tests/tbs/ub0060.pp svneol=native#text/plain
|
tests/tbs/ub0060.pp svneol=native#text/plain
|
||||||
tests/tbs/ub0069.pp svneol=native#text/plain
|
tests/tbs/ub0069.pp svneol=native#text/plain
|
||||||
tests/tbs/ub0119.pp svneol=native#text/plain
|
tests/tbs/ub0119.pp svneol=native#text/plain
|
||||||
|
8
tests/tbs/tb0519.pp
Normal file
8
tests/tbs/tb0519.pp
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
var
|
||||||
|
e: extended;
|
||||||
|
begin
|
||||||
|
e := pi;
|
||||||
|
if (sizeof(single) < sizeof(extended)) and
|
||||||
|
(single(e) = e) then
|
||||||
|
halt(1);
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user