|
@@ -84,23 +84,23 @@ interface
|
|
treelogfilename = 'tree.log';
|
|
treelogfilename = 'tree.log';
|
|
|
|
|
|
{$if defined(CPUARM) and defined(FPUFPA)}
|
|
{$if defined(CPUARM) and defined(FPUFPA)}
|
|
- MathQNaN : tdoublerec = (bytes : (0,0,252,255,0,0,0,0));
|
|
|
|
- MathInf : tdoublerec = (bytes : (0,0,240,127,0,0,0,0));
|
|
|
|
- MathNegInf : tdoublerec = (bytes : (0,0,240,255,0,0,0,0));
|
|
|
|
- MathPi : tdoublerec = (bytes : (251,33,9,64,24,45,68,84));
|
|
|
|
|
|
+ MathQNaN : tcompdoublerec = (bytes : (0,0,252,255,0,0,0,0));
|
|
|
|
+ MathInf : tcompdoublerec = (bytes : (0,0,240,127,0,0,0,0));
|
|
|
|
+ MathNegInf : tcompdoublerec = (bytes : (0,0,240,255,0,0,0,0));
|
|
|
|
+ MathPi : tcompdoublerec = (bytes : (251,33,9,64,24,45,68,84));
|
|
{$else}
|
|
{$else}
|
|
{$ifdef FPC_LITTLE_ENDIAN}
|
|
{$ifdef FPC_LITTLE_ENDIAN}
|
|
- MathQNaN : tdoublerec = (bytes : (0,0,0,0,0,0,252,255));
|
|
|
|
- MathInf : tdoublerec = (bytes : (0,0,0,0,0,0,240,127));
|
|
|
|
- MathNegInf : tdoublerec = (bytes : (0,0,0,0,0,0,240,255));
|
|
|
|
- MathPi : tdoublerec = (bytes : (24,45,68,84,251,33,9,64));
|
|
|
|
- MathPiExtended : textendedrec = (bytes : (53,194,104,33,162,218,15,201,0,64));
|
|
|
|
|
|
+ MathQNaN : tcompdoublerec = (bytes : (0,0,0,0,0,0,252,255));
|
|
|
|
+ MathInf : tcompdoublerec = (bytes : (0,0,0,0,0,0,240,127));
|
|
|
|
+ MathNegInf : tcompdoublerec = (bytes : (0,0,0,0,0,0,240,255));
|
|
|
|
+ MathPi : tcompdoublerec = (bytes : (24,45,68,84,251,33,9,64));
|
|
|
|
+ MathPiExtended : tcompextendedrec = (bytes : (53,194,104,33,162,218,15,201,0,64));
|
|
{$else FPC_LITTLE_ENDIAN}
|
|
{$else FPC_LITTLE_ENDIAN}
|
|
- MathQNaN : tdoublerec = (bytes : (255,252,0,0,0,0,0,0));
|
|
|
|
- MathInf : tdoublerec = (bytes : (127,240,0,0,0,0,0,0));
|
|
|
|
- MathNegInf : tdoublerec = (bytes : (255,240,0,0,0,0,0,0));
|
|
|
|
- MathPi : tdoublerec = (bytes : (64,9,33,251,84,68,45,24));
|
|
|
|
- MathPiExtended : textendedrec = (bytes : (64,0,201,15,218,162,33,104,194,53));
|
|
|
|
|
|
+ MathQNaN : tcompdoublerec = (bytes : (255,252,0,0,0,0,0,0));
|
|
|
|
+ MathInf : tcompdoublerec = (bytes : (127,240,0,0,0,0,0,0));
|
|
|
|
+ MathNegInf : tcompdoublerec = (bytes : (255,240,0,0,0,0,0,0));
|
|
|
|
+ MathPi : tcompdoublerec = (bytes : (64,9,33,251,84,68,45,24));
|
|
|
|
+ MathPiExtended : tcompextendedrec = (bytes : (64,0,201,15,218,162,33,104,194,53));
|
|
{$endif FPC_LITTLE_ENDIAN}
|
|
{$endif FPC_LITTLE_ENDIAN}
|
|
{$endif}
|
|
{$endif}
|
|
|
|
|
|
@@ -963,7 +963,7 @@ implementation
|
|
result := -1;
|
|
result := -1;
|
|
end;
|
|
end;
|
|
|
|
|
|
- function convertdoublerec(d : tdoublerec) : tdoublerec;{$ifdef USEINLINE}inline;{$endif}
|
|
|
|
|
|
+ function convertdoublerec(d : tcompdoublerec) : tcompdoublerec;{$ifdef USEINLINE}inline;{$endif}
|
|
{$ifdef CPUARM}
|
|
{$ifdef CPUARM}
|
|
var
|
|
var
|
|
i : longint;
|
|
i : longint;
|