From 669a418f75c05d4a39e2bcaff2b7b93dec1c5764 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 3 Apr 2017 14:51:45 -0400 Subject: Drop FXSYS_ from math methods This Cl drops the FXSYS_ from math methods which are the same on all platforms. Bug: pdfium:694 Change-Id: I85c9ff841fd9095b1434f67319847ba0cd9df7ac Reviewed-on: https://pdfium-review.googlesource.com/3598 Commit-Queue: dsinclair Reviewed-by: Tom Sepez --- core/fxcrt/cfx_decimal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/fxcrt/cfx_decimal.cpp') diff --git a/core/fxcrt/cfx_decimal.cpp b/core/fxcrt/cfx_decimal.cpp index 1baa6896a3..095978cd43 100644 --- a/core/fxcrt/cfx_decimal.cpp +++ b/core/fxcrt/cfx_decimal.cpp @@ -276,12 +276,12 @@ CFX_Decimal::CFX_Decimal(float val, uint8_t scale) { plo = static_cast(newval); pmid = static_cast(newval / 1e32); phi = static_cast(newval / 1e64); - newval = FXSYS_fmod(newval, 1.0f); + newval = fmod(newval, 1.0f); for (uint8_t iter = 0; iter < scale; iter++) { decimal_helper_mul10(phi, pmid, plo); newval *= 10; plo += static_cast(newval); - newval = FXSYS_fmod(newval, 1.0f); + newval = fmod(newval, 1.0f); } plo += FXSYS_round(newval); -- cgit v1.2.3