Home
last modified time | relevance | path

Searched refs:deg (Results 1 – 25 of 87) sorted by relevance

1234

/third_party/glfw/examples/
Dboing.c117 GLfloat TruncateDeg( GLfloat deg ) in TruncateDeg() argument
119 if ( deg >= 360.f ) in TruncateDeg()
120 return (deg - 360.f); in TruncateDeg()
122 return deg; in TruncateDeg()
129 double deg2rad( double deg ) in deg2rad() argument
131 return deg / 360 * (2 * M_PI); in deg2rad()
137 double sin_deg( double deg ) in sin_deg() argument
139 return sin( deg2rad( deg ) ); in sin_deg()
145 double cos_deg( double deg ) in cos_deg() argument
147 return cos( deg2rad( deg ) ); in cos_deg()
[all …]
/third_party/icu/icu4c/source/data/rbnf/
Dcy.txt27 "10: un deg[ >>];",
29 "30: <%spellout-cardinal-masculine-before-consonant< deg[ >>];",
50 "10: un deg[ >>];",
52 "30: <%spellout-cardinal-masculine-before-consonant< deg[ >>];",
73 "10: un deg[ >>];",
75 "30: <%spellout-cardinal-masculine-before-consonant< deg[ >>];",
96 "10: un deg[ >>];",
98 "30: <%spellout-cardinal-masculine-before-consonant< deg[ >>];",
/third_party/skia/third_party/externals/icu/source/data/rbnf/
Dcy.txt27 "10: un deg[ >>];",
29 "30: <%spellout-cardinal-masculine-before-consonant< deg[ >>];",
50 "10: un deg[ >>];",
52 "30: <%spellout-cardinal-masculine-before-consonant< deg[ >>];",
73 "10: un deg[ >>];",
75 "30: <%spellout-cardinal-masculine-before-consonant< deg[ >>];",
96 "10: un deg[ >>];",
98 "30: <%spellout-cardinal-masculine-before-consonant< deg[ >>];",
/third_party/optimized-routines/math/tools/
Dv_sin.sollya6 deg = 15; // polynomial degree
13 deg = deg-1;
22 return remez(f(x)-poly(x), deg-d, [a;b], x^d, 1e-10);
27 for i from 1 to deg/2 do {
36 for i from 0 to deg do coeff(poly,i);
Dsin.sollya6 deg = 7; // polynomial degree
13 deg = deg-1;
22 return remez(f(x)-poly(x), deg-d, [a;b], x^d, 1e-10);
27 for i from 1 to deg/2 do {
37 for i from 0 to deg do coeff(poly,i);
Dlog.sollya6 deg = 12; // poly degree
13 deg = deg-1; // because of /x
21 return remez(1 - poly(x)/f(x), deg-d, [a;b], x^d/f(x), 1e-10);
26 for i from 1 to deg do {
35 for i from 0 to deg do coeff(poly,i);
Dv_log.sollya6 deg = 6; // poly degree
12 deg = deg-1; // because of /x
20 return remez(1 - poly(x)/f(x), deg-d, [a;b], x^d/f(x), 1e-10);
25 for i from 1 to deg do {
34 for i from 0 to deg do coeff(poly,i);
Dlog2.sollya6 deg = 11; // poly degree
17 deg = deg-1; // because of /x
26 return remez(1 - poly(x)/f(x), deg-d, [a;b], x^d/f(x), 1e-10);
31 for i from 1 to deg do {
42 for i from 0 to deg do coeff(poly,i);
Dexp2.sollya7 deg = 3; // poly degree
13 //deg = 5; // poly degree
24 return remez(1 - poly(x)/f(x), deg-d, [a;b], x^d/f(x), 1e-10);
28 return remez(f(x) - poly(x), deg-d, [a;b], x^d, 1e-10);
33 for i from 1 to deg do {
48 for i from 0 to deg do coeff(poly,i);
Dv_exp.sollya6 deg = 4; // poly degree
15 return remez(exp(x)-poly(x), deg-d, [a;b], x^d, 1e-10);
20 for i from 2 to deg do {
30 for i from 0 to deg do coeff(poly,i);
Dcos.sollya6 deg = 8; // polynomial degree
16 return remez(f(x)-poly(x), deg-d, [a;b], x^d, 1e-10);
21 for i from 1 to deg/2 do {
31 for i from 0 to deg do coeff(poly,i);
Dlog_abs.sollya6 deg = 6; // poly degree
16 return remez(f(x) - poly(x), deg-d, [a;b], x^d, 1e-10);
21 for i from 2 to deg do {
35 for i from 0 to deg do coeff(poly,i);
Dexp.sollya6 deg = 5; // poly degree
16 return remez(exp(x)-poly(x), deg-d, [a;b], x^d, 1e-10);
21 for i from 2 to deg do {
35 for i from 0 to deg do coeff(poly,i);
Dlog2_abs.sollya6 deg = 7; // poly degree
20 return remez(f(x) - poly(x), deg-d, [a;b], x^d, 1e-10);
25 for i from 2 to deg do {
41 for i from 0 to deg do coeff(poly,i);
/third_party/skia/src/utils/
DSkCamera.cpp204 void Sk3DView::rotateX(SkScalar deg) { in rotateX() argument
205 fRec->fMatrix.preConcat(SkM44::Rotate({1, 0, 0}, deg * SK_ScalarPI / 180)); in rotateX()
208 void Sk3DView::rotateY(SkScalar deg) { in rotateY() argument
209 fRec->fMatrix.preConcat(SkM44::Rotate({0,-1, 0}, deg * SK_ScalarPI / 180)); in rotateY()
212 void Sk3DView::rotateZ(SkScalar deg) { in rotateZ() argument
213 fRec->fMatrix.preConcat(SkM44::Rotate({0, 0, 1}, deg * SK_ScalarPI / 180)); in rotateZ()
/third_party/skia/include/utils/
DSkCamera.h81 void rotateX(SkScalar deg);
82 void rotateY(SkScalar deg);
83 void rotateZ(SkScalar deg);
/third_party/skia/modules/canvaskit/
Dutil.js12 function degreesToRadians(deg) { argument
13 return (deg / 180) * Math.PI;
/third_party/skia/gm/
Daddarc.cpp94 for (SkScalar deg = 0; deg < 360; deg += 10) { variable
95 const SkScalar rad = SkDegreesToRadians(deg);
101 SkPathMeasure meas(SkPathBuilder().addArc(oval, 0, deg).detach(), false);
/third_party/weex-loader/deps/weex-styler/
DREADME.md87 var code = 'html {color: #000000;} .foo {color: red; -webkit-transform: rotate(90deg); width: 200px…
94 // {foo: {color: '#ff0000', webkitTransform: 'rotate(90deg)', width: 200}}
107 webkitTransform: 'rotate(90deg)',
116 // {foo: {color: '#ff0000', webkitTransform: 'rotate(90deg)', width: 200}}
/third_party/skia/third_party/externals/icu/source/data/unit/
Den_AU.txt165 one{"{0} deg."}
166 other{"{0} deg."}
283 dnam{"deg."}
/third_party/googletest/docs/_sass/
Dmain.scss69 transform: rotate(45deg);
193 transform: rotate(-135deg);
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarAstronomer.java1668 int deg = (int) (angle*RAD_DEG);
1669 int min = (int)((angle*RAD_DEG - deg) * 60);
1670 int sec = (int)((angle*RAD_DEG - deg - min/60.0) * 3600);
1672 return Integer.toString(deg) + "\u00b0" + min + "'" + sec + "\"";
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DCalendarAstronomer.java1673 int deg = (int) (angle*RAD_DEG);
1674 int min = (int)((angle*RAD_DEG - deg) * 60);
1675 int sec = (int)((angle*RAD_DEG - deg - min/60.0) * 3600);
1677 return Integer.toString(deg) + "\u00b0" + min + "'" + sec + "\"";
/third_party/icu/icu4c/source/data/unit/
Den_AU.txt329 dnam{"deg C"}
332 dnam{"deg F"}
335 dnam{"deg."}
/third_party/skia/samplecode/
DSampleVariableWidthStroker.cpp894 const int deg = lut[static_cast<uint8_t>(seg.fVerb)]; in segmentDegree() local
895 SkASSERT(deg > 0); in segmentDegree()
896 return deg; in segmentDegree()
1258 const int deg = E.degree(); in drawErrorCurve() local
1262 ScalarBezCurve left(deg), right(deg); in drawErrorCurve()
1265 ScalarBezCurve rl(deg), rr(deg); in drawErrorCurve()
1272 path.lineTo(x + dx, -rr[deg]); in drawErrorCurve()

1234