Skip to content

Commit

Permalink
appease codefactor
Browse files Browse the repository at this point in the history
  • Loading branch information
LostRobotMusic committed Jan 2, 2025
1 parent 6220dc9 commit eb95119
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions include/lmms_math.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
#include "lmms_constants.h"
#include "lmmsconfig.h"

#ifdef __SSE2__
#include <emmintrin.h>
#endif

namespace lmms
{

Expand Down Expand Up @@ -267,8 +271,6 @@ class LinearMap
};

#ifdef __SSE2__
#include <emmintrin.h>

// exp approximation for SSE2: https://stackoverflow.com/a/47025627/5759631
// Maximum relative error of 1.72863156e-3 on [-87.33654, 88.72283]
static inline __m128 fast_exp_sse(__m128 x)
Expand Down

0 comments on commit eb95119

Please sign in to comment.