فهرست منبع

* don't use libc round/trunc/cos/... if FPC_HAS_TYPE_EXTENDED, because
the imported routines only support double precision

git-svn-id: trunk@9202 -

Jonas Maebe 17 سال پیش
والد
کامیت
b967d88b0c
1فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 4 2
      rtl/inc/cgenmath.inc

+ 4 - 2
rtl/inc/cgenmath.inc

@@ -14,7 +14,9 @@
  **********************************************************************}
  **********************************************************************}
 
 
 { for 80x86, we can easily write the optimal inline code }
 { for 80x86, we can easily write the optimal inline code }
-{$ifndef cpui386}
+{ Furthermore, the routines below only go up to double   }
+{ precision and we need extended precision if supported  }
+{$ifndef FPC_HAS_TYPE_EXTENDED}
 
 
 {$ifndef SOLARIS}
 {$ifndef SOLARIS}
 
 
@@ -162,5 +164,5 @@
     end;
     end;
 {$endif}
 {$endif}
 
 
-{$endif not i386}
+{$endif not FPC_HAS_TYPE_EXTENDED}