mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 10:39:33 +02:00
parent
1aae90b294
commit
f6b5c513bb
@ -30,7 +30,11 @@ Interface
|
||||
|
||||
Type
|
||||
bestreal = extended;
|
||||
{$ifdef FPC_HAS_TYPE_EXTENDED}
|
||||
bestrealrec = TExtended80Rec;
|
||||
{$else}
|
||||
bestrealrec = TDoubleRec;
|
||||
{$endif}
|
||||
ts32real = single;
|
||||
ts64real = double;
|
||||
ts80real = extended;
|
||||
|
@ -1134,7 +1134,7 @@ implementation
|
||||
end;
|
||||
end;
|
||||
|
||||
{$if not defined(FPC_SOFT_FPUX80)}
|
||||
{$if sizeof(bestrealrec) = sizeof(bestreal)}
|
||||
{ replace .../const by a multiplication, but only if fastmath is enabled or
|
||||
the division is done by a power of 2, do not mess with special floating point values like Inf etc.
|
||||
|
||||
@ -1181,7 +1181,7 @@ implementation
|
||||
else
|
||||
;
|
||||
end;
|
||||
{$endif not defined(FPC_SOFT_FPUX80)}
|
||||
{$endif sizeof(bestrealrec) = sizeof(bestreal)}
|
||||
|
||||
{ first, we handle widestrings, so we can check later for }
|
||||
{ stringconstn only }
|
||||
|
Loading…
Reference in New Issue
Block a user