Jelajahi Sumber

* changed ppureal from extended into bestreal -> units cross-compiled
from architectures with a larger maximum floating point precision
for an architecture with a smaller maximum fp precision can also be
used by native compilers on the target architectures (final fix for
mantis #9165)

git-svn-id: trunk@11076 -

Jonas Maebe 17 tahun lalu
induk
melakukan
dcbd0a3ea2
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      compiler/ppu.pas

+ 2 - 1
compiler/ppu.pas

@@ -156,7 +156,8 @@ const
 
 
 type
-  ppureal=extended;
+  { bestreal is defined based on the target architecture }
+  ppureal=bestreal;
 
   tppuerror=(ppuentrytoobig,ppuentryerror);