OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:M_PI
(Results
1 - 25
of
68
) sorted by null
1
2
3
/external/tremolo/Tremolo/
os.h
55
#ifndef
M_PI
56
# define
M_PI
(3.1415926536f)
/external/srec/srec/include/
all_defs.h
105
#ifndef
M_PI
106
#define
M_PI
3.14159265358979323846
107
#endif /*
M_PI
*/
/frameworks/base/opengl/libagl/
fp.cpp
58
const float A = 1.0f / (2.0f*
M_PI
);
76
return sinef(x + float(
M_PI
/2));
/external/webkit/WebCore/platform/wx/wxcode/win/
non-kerned-drawing.cpp
43
const double RAD2DEG = 180.0 /
M_PI
;
52
static inline double DegToRad(double deg) { return (deg *
M_PI
) / 180.0; }
53
static inline double RadToDeg(double deg) { return (deg * 180.0) /
M_PI
; }
/external/quake/quake/src/WinQuake/
snd_android.cpp
93
static const float p = 2 *
M_PI
* 440.0f / SAMPLE_RATE;
99
const float A = 1.0f / (2.0f*
M_PI
);
128
if (left > 2*
M_PI
) {
129
left -= 2*
M_PI
;
135
if (right > 2*
M_PI
) {
136
right -= 2*
M_PI
;
mathlib.h
30
#ifndef
M_PI
31
#define
M_PI
3.14159265358979323846 // matches value in gcc v2 math.h
chase.cpp
87
r_refdef.viewangles[PITCH] = -atan(stop[2] / dist) /
M_PI
* 180;
r_bsp.cpp
90
angle = angle *
M_PI
*2 / 360;
107
angle = angle *
M_PI
*2 / 360;
125
angle = angle *
M_PI
*2 / 360;
mathlib.cpp
32
#define DEG2RAD( a ) ( a *
M_PI
) / 180.0F
297
angle = angles[YAW] * (
M_PI
*2 / 360);
300
angle = angles[PITCH] * (
M_PI
*2 / 360);
303
angle = angles[ROLL] * (
M_PI
*2 / 360);
cl_tent.cpp
362
yaw = (int) (atan2(dist[1], dist[0]) * 180 /
M_PI
);
367
pitch = (int) (atan2(dist[2], forward) * 180 /
M_PI
);
gl_rlight.cpp
112
a = i/16.0 *
M_PI
*2;
132
a = i/16.0 *
M_PI
*2;
/external/quake/quake/src/QW/client/
mathlib.h
30
#ifndef
M_PI
31
#define
M_PI
3.14159265358979323846 // matches value in gcc v2 math.h
r_bsp.c
90
angle = angle *
M_PI
*2 / 360;
107
angle = angle *
M_PI
*2 / 360;
125
angle = angle *
M_PI
*2 / 360;
mathlib.c
32
#define DEG2RAD( a ) ( a *
M_PI
) / 180.0F
295
angle = angles[YAW] * (
M_PI
*2 / 360);
298
angle = angles[PITCH] * (
M_PI
*2 / 360);
301
angle = angles[ROLL] * (
M_PI
*2 / 360);
cl_tent.c
386
yaw = (int) (atan2(dist[1], dist[0]) * 180 /
M_PI
);
391
pitch = (int) (atan2(dist[2], forward) * 180 /
M_PI
);
/external/speex/libspeex/
math_approx.h
45
#define spx_cos_norm(x) (cos((.5f*
M_PI
)*(x)))
305
#ifndef
M_PI
306
#define
M_PI
3.14159265358979323846 /* pi */
323
x =
M_PI
-x;
scal.c
105
st->vorbis_win[i] = sin(.5*
M_PI
* sin(
M_PI
*i/(2*frame_size))*sin(
M_PI
*i/(2*frame_size)) );
231
float coef =
M_PI
*0.075063 * 0.93763 * amount * .8 * 0.707;
quant_lsp.c
40
#ifndef
M_PI
41
#define
M_PI
3.14159265358979323846
67
#define LSP_PI
M_PI
lsp.c
91
#ifndef
M_PI
92
#define
M_PI
3.14159265358979323846 /* pi */
633
if (lsp[len-1]>LSP_SCALING*(
M_PI
-margin))
634
lsp[len-1]=LSP_SCALING*(
M_PI
-margin);
/bionic/libm/bsdsrc/
b_tgamma.c
291
z = sin(
M_PI
*z);
293
z = cos(
M_PI
*(0.5-z));
300
lsine = __log__D(
M_PI
/z); /* = TRUNC(log(u)) + small */
315
return (
M_PI
/ (y*z));
/frameworks/base/cmds/stagefright/
SineSource.cpp
76
const double k = kFrequency / mSampleRate * (2.0 *
M_PI
);
/external/webkit/JavaScriptCore/wtf/
MathExtras.h
49
#ifndef
M_PI
53
const double piDouble =
M_PI
;
54
const float piFloat = static_cast<float>(
M_PI
);
/external/webkit/WebCore/platform/graphics/qt/
PathQt.cpp
47
#ifndef
M_PI
48
# define
M_PI
3.14159265358979323846
233
#define DEGREES(t) ((t) * 180.0 /
M_PI
)
/ndk/samples/bitmap-plasma/jni/
plasma.c
88
#define ANGLE_FROM_FLOAT(x) (Angle)((x)*ANGLE_PI/
M_PI
)
89
#define ANGLE_TO_FLOAT(x) ((x)*
M_PI
/ANGLE_PI)
105
double radians = nn*
M_PI
/ANGLE_PI;
/frameworks/base/libs/rs/
rsMatrix.cpp
71
rot *= float(
M_PI
/ 180.0f);
Completed in 329 milliseconds
1
2
3