* fixed webtbs/tw10519.pp for CPUs which don't support extended

git-svn-id: trunk@9893 -
This commit is contained in:
Jonas Maebe 2008-01-24 10:33:14 +00:00
parent bfd667e289
commit 200f1e5643

View File

@ -1992,7 +1992,18 @@ Var
Placehold[1]:=1;
Decimals := Placehold[3] + Placehold[4];
Width:=Placehold[1]+Placehold[2]+Decimals;
{ depending on the maximally supported precision, the exponent field }
{ is longer/shorter }
{$ifdef FPC_HAS_TYPE_EXTENDED}
Str(Value:Width+8,Digits);
{$else FPC_HAS_TYPE_EXTENDED}
{$ifdef FPC_HAS_TYPE_DOUBLE}
Str(Value:Width+7,Digits);
{$else FPC_HAS_TYPE_DOUBLE}
Str(Value:Width+6,Digits);
{$endif FPC_HAS_TYPE_DOUBLE}
{$endif FPC_HAS_TYPE_EXTENDED}
{ Find and cut out exponent. Always the
last 6 characters in the string.
-> 0000E+0000