mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 10:59:18 +02:00
* fixed for cpu's where real = extended (= double)
git-svn-id: trunk@1581 -
This commit is contained in:
parent
5907f99b6a
commit
fa8119280b
@ -21,11 +21,14 @@ Var
|
|||||||
B.A := V;
|
B.A := V;
|
||||||
End;
|
End;
|
||||||
|
|
||||||
|
{$ifdef FPC_HAS_TYPE_EXTENDED}
|
||||||
|
{ otherwise extended = real = double }
|
||||||
Operator := (V : Extended) B : TMoo;
|
Operator := (V : Extended) B : TMoo;
|
||||||
Begin
|
Begin
|
||||||
B:=TMoo.Create;
|
B:=TMoo.Create;
|
||||||
B.A := V;
|
B.A := V;
|
||||||
End;
|
End;
|
||||||
|
{$endif FPC_HAS_TYPE_EXTENDED}
|
||||||
|
|
||||||
Constructor TMoo.Init;
|
Constructor TMoo.Init;
|
||||||
Begin
|
Begin
|
||||||
|
Loading…
Reference in New Issue
Block a user