mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
c99_math: Implement exp2f for MSVC.
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
5c7fd67045
commit
ecc559218d
1 changed files with 6 additions and 0 deletions
|
|
@ -140,6 +140,12 @@ llrintf(float f)
|
|||
return rounded;
|
||||
}
|
||||
|
||||
static inline float
|
||||
exp2f(float f)
|
||||
{
|
||||
return powf(2.0f, f);
|
||||
}
|
||||
|
||||
#endif /* C99 */
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue