From: Andy Heninger Date: Wed, 24 Jul 2013 18:09:39 +0000 (+0000) Subject: ICU-10253 Fix #include of math.h X-Git-Tag: milestone-59-0-1~2739 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7b95d141d300e3d1c67ce59e7e15c477f295cb44;p=icu ICU-10253 Fix #include of math.h X-SVN-Rev: 33974 --- diff --git a/icu4c/source/i18n/plurrule.cpp b/icu4c/source/i18n/plurrule.cpp index 5069c9a2b68..d372537f2b1 100644 --- a/icu4c/source/i18n/plurrule.cpp +++ b/icu4c/source/i18n/plurrule.cpp @@ -7,12 +7,14 @@ * File plurrule.cpp */ +#include +#include + #include "unicode/utypes.h" #include "unicode/localpointer.h" #include "unicode/plurrule.h" #include "unicode/upluralrules.h" #include "unicode/ures.h" -#include "cmath" #include "cmemory.h" #include "cstring.h" #include "hash.h" @@ -25,7 +27,6 @@ #include "locutil.h" #include "uassert.h" #include "uvectr32.h" -#include "stdio.h" #if !UCONFIG_NO_FORMATTING @@ -830,7 +831,7 @@ AndConstraint::isFulfilled(const NumberInfo &number) { } if (op == MOD) { - n = std::fmod(n, opNum); + n = fmod(n, opNum); } if (rangeList == NULL) { result = value == -1 || // empty rule