M_PI
double value = (1.0 / filterCutOff) * taps * M_PI * (i - num)
double window = (0.5 - 0.5 * cos(i * M_PI / num));
float theta = 2.0 * M_PI * f;
double dTheta = 2*M_PI * double(mFrequency) / mOutput.format.u.raw_audio.frame_rate;
if (mTheta > 2*M_PI)
mTheta -= 2*M_PI;
fBase = drand48() * 2 * M_PI * 1000;
const float rotationsPerSecond = (float)(2.0 * M_PI * fieldSpeed
colorRot = (float)(2.0 * M_PI / cycleTime);
thisPointInRadians = 2.0 * M_PI * (double) s->mystery / (double) BIGMYSTERY;
const float rotationsPerSecond = (float) (2.0*M_PI*fieldSpeed/MAXANGLES);
colorRot = (float)(2.0 * M_PI / cycleTime);
thisPointInRadians = 2.0 * M_PI * (double)s->mystery / (double)BIGMYSTERY;
float rotationsPerSecond = (float)(2.0 * M_PI * 12.0 / MAXANGLES)
thisPointInRadians = 2.0 * M_PI * (double) s->mystery / (double) BIGMYSTERY;
float t = 255.0f * (float) cos(r * M_PI / 31.0);
t = 255.0f * (float) cos(r*M_PI/31.0);
current->A = gauss_rand(0.0, 360.0, 4.0) * (M_PI / 180.0);
current->A2 = gauss_rand(0.0, 360.0, 4.0) * (M_PI / 180.0);
transform.RotateBy(drand48() * 2. * M_PI);
precos[i]=cos(i * M_PI / 256);
presin[i]=sin(i * M_PI / 256);
th = rand() * M_PI * 2 / RAND_MAX;
return (precos[(int)(a * 256 / M_PI) & 511]);
h = (1 + cos(r * M_PI)) * 150;
return (presin[(int)(a * 256 / M_PI) & 511]);
for(int mark = 0; mark < 60; mark++, markAngle += (2 * M_PI) / 60) {
for (int mark = 0; mark < 12; mark++, markAngle += (2 * M_PI) / 12) {
((2 * M_PI / 60) * minuteVal) - (M_PI / 2), 220 * zoom, 1, 8 * zoom);
((2 * M_PI / 12) * hourVal) - (M_PI / 2), 140 * zoom, 1, 14 * zoom);
((2 * M_PI / 60) * secondVal) - (M_PI / 2), 240 * zoom, 1, 4 * zoom);
float blockAngles[4] = {alpha - (M_PI / 12), alpha + (M_PI / 12),
alpha + M_PI - (M_PI / 12), alpha + M_PI + (M_PI / 12)};
angle + M_PI - alpha, angle + M_PI + alpha};
y = hRadius * sin(((360 - counter)/180.0) * M_PI);
x = mRadius * cos(((360 - counter)/180.0) * M_PI);
y = mRadius * sin(((360 - counter)/180.0) * M_PI);
x = hRadius * cos(((360 - counter)/180.0) * M_PI);
y = hRadius * sin(((360 - counter)/180.0) * M_PI);
x = mRadius * cos(((360 - counter)/180.0) * M_PI);
y = mRadius * sin(((360 - counter)/180.0) * M_PI);
x = hRadius * cos(((360 - counter)/180.0) * M_PI);
if(m_fTheta > 2 * M_PI)
m_fTheta -= 2 * M_PI;
return 2 * M_PI * fRate / format.frame_rate;
#define deg2rad(x) (2.0 * M_PI * (x) / 360.0)
#define rad2deg(x) (360.0 * (x) / (2.0 * M_PI))
const float r = Rotation() * (M_PI / 180.0);
angle = angle * 180.0 / M_PI;
return t.rotation() * 180.0 / M_PI;
agg::trans_affine_rotation m(degrees * M_PI / 180.0);
multiply(agg::trans_affine_rotation(fRotation * M_PI / 180.0));
agg::trans_affine_rotation r(angle * M_PI / 180.0);
agg::trans_affine_rotation r(angle * M_PI / 180.0);
fMatrix.multiply(agg::trans_affine_rotation(fParent->LocalRotation() * M_PI / 180.0));
BPoint from = origin + BPoint(sinf(22.5 * 180.0 / M_PI) * 50.0,
-cosf(22.5 * 180.0 / M_PI) * 50.0);
fMatrix.multiply(agg::trans_affine_rotation(fParent->LocalRotation() * M_PI / 180.0));
return t.rotation() * 180.0 / M_PI;
transform.RotateBy(center, rotation * M_PI / 180.0f);
ringDelta = 2.0 * M_PI / rings;
sideDelta = 2.0 * M_PI / nsides;
#ifndef M_PI
multiply(agg::trans_affine_rotation(degrees * (M_PI / 180.0)));
double angle = i * M_PI / 180;
size -= sin(M_PI / 4) * size + 2;
float x1 = fCenterX + sinf(minute * M_PI / 30.0) * fRadius;
float y1 = fCenterY + cosf(minute * M_PI / 30.0) * fRadius;
float x2 = fCenterX + sinf(minute * M_PI / 30.0) * (fRadius * 0.95);
float y2 = fCenterY + cosf(minute * M_PI / 30.0) * (fRadius * 0.95);
float x1 = fCenterX + sinf(hour * M_PI / 6.0) * fRadius;
float y1 = fCenterY + cosf(hour * M_PI / 6.0) * fRadius;
float x2 = fCenterX + sinf(hour * M_PI / 6.0) * (fRadius * 0.9);
float y2 = fCenterY + cosf(hour * M_PI / 6.0) * (fRadius * 0.9);
float hoursExact = 6.0 * pointPhi / M_PI;
float minutesExact = 30.0 * pointPhi / M_PI;
return 2 * M_PI;
return M_PI;
return M_PI * 3 / 2;
return M_PI / 2;
pointPhi = M_PI / 2. - pointPhi;
pointPhi = M_PI / 2 - pointPhi;
pointPhi = (M_PI * 3. / 2. - pointPhi);
pointPhi = 3. / 2. * M_PI - pointPhi;
float handPhi = M_PI / 30.0 * ticks;
offsetX = (radius * 0.7) * sinf((hours * M_PI) / 6.0);
offsetY = (radius * 0.7) * cosf((hours * M_PI) / 6.0);
offsetX = (radius * 0.9) * sinf((minutes * M_PI) / 30.0);
offsetY = (radius * 0.9) * cosf((minutes * M_PI) / 30.0);
offsetX = (radius * 0.95) * sinf((fSeconds * M_PI) / 30.0);
offsetY = (radius * 0.95) * cosf((fSeconds * M_PI) / 30.0);
transform.ShearBy(B_ORIGIN, (90.0 - fShear) * M_PI / 180.0, 0.0);
transform.RotateBy(B_ORIGIN, -fRotation * M_PI / 180.0);
WriteSetFontShear((font.Shear() - 90) * (M_PI / 180));
font.SetShear(shear * (180 / M_PI) + 90);
angle += M_PI / 8;
angle += M_PI * 2;
(90.0 - font.Shear()) * M_PI / 180.0, 0.0);
-font.Rotation() * M_PI / 180.0);
int32 divisions = (int32)((xRadius + yRadius + 2 * fPenSize) * M_PI / 2);
int32 divisions = (int32)((xRadius + yRadius + 2 * fPenSize) * M_PI / 2);
double angleRad = (angle * M_PI) / 180.0;
double spanRad = (span * M_PI) / 180.0;
double angleRad = (angle * M_PI) / 180.0;
double spanRad = (span * M_PI) / 180.0;
double angleRad = (angle * M_PI) / 180.0;
double spanRad = (span * M_PI) / 180.0;
double angleRad = (angle * M_PI) / 180.0;
double spanRad = (span * M_PI) / 180.0;
__imag__ result = signbit (__real__ x) ? M_PI : 0.0;
__imag__ result = signbit (__real__ x) ? M_PI : 0.0;
__imag__ result = signbit (__real__ x) ? M_PI : 0.0;
__imag__ result = signbit (__real__ x) ? M_PI : 0.0;
fWaveView->waves[0].SetValue(i, sinf(i * 2 * M_PI / freq));
float val=63.99*(1+cos(2*M_PI*((i-320)*(i-320)+(j-1744)*(j-1744))/1216));
RotateBy(M_PI / 4);
da = 2.0 * M_PI / teeth / 4.0;
angle = i * 2.0 * M_PI / teeth;
angle = i * 2.0 * M_PI / teeth;
angle = i * 2.0 * M_PI / teeth;
#ifndef M_PI
da = 2.0 * M_PI / teeth / 4.0;
angle = i * 2.0 * M_PI / teeth;
da = 2.0 * M_PI / teeth / 4.0;
angle = i * 2.0 * M_PI / teeth;
angle = i * 2.0 * M_PI / teeth;
transform.RotateBy(center, i * M_PI / 180.0);
transform.RotateBy(center, 30 * M_PI / 180.0);
transform.RotateBy(center, 30.0 * M_PI / 180.0);
transform.RotateBy(BPoint(100, 100), 30.0 * M_PI / 180.0);