mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 20:29:14 +02:00
* fix to align float64 correctly
git-svn-id: trunk@19791 -
This commit is contained in:
parent
c7f846ebd5
commit
41636711e4
@ -147,8 +147,12 @@ TYPE
|
|||||||
high : qword;
|
high : qword;
|
||||||
end;
|
end;
|
||||||
{$else}
|
{$else}
|
||||||
float64 = packed record
|
float64 = record
|
||||||
high,low : bits32;
|
case byte of
|
||||||
|
1: (high,low : bits32);
|
||||||
|
// force the record to be aligned like a double
|
||||||
|
// else *_to_double will fail for cpus like sparc
|
||||||
|
2: (dummy : double);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
int64rec = packed record
|
int64rec = packed record
|
||||||
|
Loading…
Reference in New Issue
Block a user