mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 17:10:22 +00:00
[CRT] exp2*.c: Add an explicit type for 'TWO' variable
Addendum to 199adee
.
This commit is contained in:
parent
b6493654a3
commit
b8ae966634
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue