diff --git a/sdk/lib/crt/math/exp2.c b/sdk/lib/crt/math/exp2.c index e843be9fffd..84f02e29c1c 100644 --- a/sdk/lib/crt/math/exp2.c +++ b/sdk/lib/crt/math/exp2.c @@ -8,6 +8,6 @@ exp2( _In_ double x) { /* This below avoids clang to optimize our pow call to exp2 */ - static const TWO = 2.0; + static const double TWO = 2.0; return pow(TWO, x); } diff --git a/sdk/lib/crt/math/exp2f.c b/sdk/lib/crt/math/exp2f.c index 292308ae521..818a28bb2f1 100644 --- a/sdk/lib/crt/math/exp2f.c +++ b/sdk/lib/crt/math/exp2f.c @@ -8,6 +8,6 @@ exp2f( _In_ float x) { /* This below avoids clang to optimize our pow call to exp2 */ - static const TWO = 2.0f; + static const float TWO = 2.0f; return powf(TWO, x); }