Line endings

This commit is contained in:
DrSlony
2015-08-11 11:53:44 +02:00
parent 96be30863d
commit effb46c3e1
136 changed files with 50595 additions and 50595 deletions

View File

@@ -1,6 +1,6 @@
#ifndef SLEEFSSEAVX
#define SLEEFSSEAVX
#ifndef SLEEFSSEAVX
#define SLEEFSSEAVX
#include <assert.h>
#include <math.h>
//#include <bits/nan.h>
@@ -1222,7 +1222,7 @@ static INLINE vfloat xlogf(vfloat d) {
return x;
}
static INLINE vfloat xlogf0(vfloat d) {
vfloat x, x2, t, m;
vint2 e;
@@ -1247,7 +1247,7 @@ static INLINE vfloat xlogf0(vfloat d) {
return x;
}
static INLINE vfloat xexpf(vfloat d) {
vint2 q = vrint_vi2_vf(vmulf(d, vcast_vf_f(R_LN2f)));
@@ -1267,7 +1267,7 @@ static INLINE vfloat xexpf(vfloat d) {
u = vldexpf(u, q);
u = vself(vmaskf_isminf(d), vcast_vf_f(0.0f), u);
// -104.0
// -104.0
u = vself(vmaskf_gt(vcast_vf_f(-104), d), vcast_vf_f(0), u);
return u;
}
@@ -1315,12 +1315,12 @@ static INLINE vfloat SQRV(vfloat a){
return _mm_mul_ps( a,a );
}
static inline void vswap( vmask condition, vfloat &a, vfloat &b) {
vfloat temp = vself(condition, a, b); // the larger of the two
condition = vnotm(condition); // invert the mask
a = vself(condition, a, b); // the smaller of the two
b = temp;
static inline void vswap( vmask condition, vfloat &a, vfloat &b) {
vfloat temp = vself(condition, a, b); // the larger of the two
condition = vnotm(condition); // invert the mask
a = vself(condition, a, b); // the smaller of the two
b = temp;
}
#endif // __SSE2__
#endif // SLEEFSSEAVX
#endif // SLEEFSSEAVX