mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Emulate exp2f() for older MS compilers where it wasn't available
This commit is contained in:
parent
5957e14259
commit
a222292e68
3 changed files with 22 additions and 2 deletions
|
|
@ -272,9 +272,10 @@ inline int64_t abs(int64_t val) throw()
|
|||
// Emulate some C99 math functions which MSVC itself didn't
|
||||
// implement until later in life.
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1800)
|
||||
extern double expm1(double x);
|
||||
extern double log1p(double x);
|
||||
extern double round(double x);
|
||||
extern double expm1(double x);
|
||||
extern float exp2f(float x);
|
||||
extern float roundf(float x);
|
||||
#endif
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1900)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue