소스 검색

* replaced a trunc() with an int() call (because its result is compared
with a float as well)

git-svn-id: trunk@10375 -

Jonas Maebe 18 년 전
부모
커밋
7433e0ef89
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rtl/inc/real2str.inc

+ 1 - 1
rtl/inc/real2str.inc

@@ -173,7 +173,7 @@ const
         { the fractional part is not used for rounding later                }
         currprec := -1;
         { instead, round based on the next whole digit }
-        if (trunc(intPartStack[stackPtr]-corrVal) > 5.0 - roundCorr) then
+        if (int(intPartStack[stackPtr]-corrVal) > 5.0 - roundCorr) then
            roundStr(temp,spos);
         end;
 {$ifdef DEBUG_NASM}