Nxna2
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Enumerations
Enumerator
Pages
src
MathBase.h
1
#ifndef NXNA_MATHBASE_H
2
#define NXNA_MATHBASE_H
3
4
#ifdef NXNA_NO_CRT
5
6
extern
"C"
7
{
8
// rely on intrinsics for all these
9
10
float
sinf(
float
v);
11
float
cosf(
float
v);
12
float
tanf(
float
v);
13
float
sqrtf(
float
v);
14
double
fabs(
float
v);
15
16
}
17
18
19
20
#else
21
#include <cmath>
22
#endif
23
24
//#define USE_SSE2
25
//#include "sse_mathfun.h"
26
//
27
//static float nxna_sinf(float v)
28
//{
29
// v4sf v4 = { v, v, v, v };
30
// return sin_ps(v4).m128_f32[0];
31
//}
32
33
#endif // NXNA_MATHBASE_H
Generated on Sun Aug 7 2016 12:28:15 for Nxna2 by
1.8.7