mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 00:50:23 +00:00
[SDK/CRT] Provide inline implementation of log2
This commit is contained in:
parent
edca86dadb
commit
86a0852ffb
1 changed files with 1 additions and 0 deletions
|
@ -270,6 +270,7 @@ _Check_return_ __CRT_INLINE long lrintl(_In_ long double x) { return (long)((x <
|
|||
_Check_return_ __CRT_INLINE long long llrint(_In_ double x) { return (long long)((x < 0) ? (x - 0.5f) : (x + 0.5)); }
|
||||
_Check_return_ __CRT_INLINE long long llrintf(_In_ float x) { return (long long)((x < 0) ? (x - 0.5f) : (x + 0.5)); }
|
||||
_Check_return_ __CRT_INLINE long long llrintl(_In_ long double x) { return (long long)((x < 0) ? (x - 0.5f) : (x + 0.5)); }
|
||||
_Check_return_ __CRT_INLINE double log2(_In_ double x) { return log(x) / log(2); }
|
||||
|
||||
#ifndef NO_OLDNAMES /* !__STDC__ */
|
||||
|
||||
|
|
Loading…
Reference in a new issue