Home
last modified time | relevance | path

Searched refs:floor (Results 1 – 25 of 1258) sorted by relevance

12345678910>>...51

/third_party/icu/icu4c/source/test/testdata/
Ddcfmtest.txt34 # floor
74 format 0.00 floor "32.045" "32.04"
83 format 0.00 floor "-32.045" "-32.05"
92 format @@@ floor "1235.00" "1230"
101 format @@@ floor "-1235.00" "-1240"
110 format 0.000E0 floor "12345" "1.234E4"
145 format 0.0 floor "-1.00" "-1.0"
152 format 0.0 floor "-0.99" "-1.0"
159 format 0.0 floor "-0.98" "-1.0"
166 format 0.0 floor "-0.97" "-1.0"
[all …]
Dnumberpermutationtest.txt508 compact-short percent rounding-mode-floor
522 compact-short currency/EUR rounding-mode-floor
536 compact-short measure-unit/length-furlong rounding-mode-floor
550 scientific/+ee/sign-always percent rounding-mode-floor
564 scientific/+ee/sign-always currency/EUR rounding-mode-floor
578 scientific/+ee/sign-always measure-unit/length-furlong rounding-mode-floor
1320 compact-short unit-width-narrow rounding-mode-floor
1334 compact-short unit-width-full-name rounding-mode-floor
1348 scientific/+ee/sign-always unit-width-narrow rounding-mode-floor
1362 scientific/+ee/sign-always unit-width-full-name rounding-mode-floor
[all …]
/third_party/libxml2/test/XPath/expr/
Dfunctions6 floor(0.1)
7 floor(-0.1)
8 floor(-0)
9 floor(0)
10 floor(5.2)
11 floor(-5.2)
12 floor(100000000000000000000)
13 floor(-100000000000000000000)
14 floor(0 div 0)
15 floor(1 div 0)
[all …]
/third_party/typescript/tests/baselines/reference/
DconstEnum2.types21 e = 199 * Math.floor(Math.random() * 1000),
23 >199 * Math.floor(Math.random() * 1000) : number
25 >Math.floor(Math.random() * 1000) : number
26 >Math.floor : (x: number) => number
28 >floor : (x: number) => number
36 f = d - (100 * Math.floor(Math.random() % 8))
38 >d - (100 * Math.floor(Math.random() % 8)) : number
40 >(100 * Math.floor(Math.random() % 8)) : number
41 >100 * Math.floor(Math.random() % 8) : number
43 >Math.floor(Math.random() % 8) : number
[all …]
DtopLevelBlockExpando.types16 const dice = () => Math.floor(Math.random() * 6);
18 >() => Math.floor(Math.random() * 6) : { (): number; first: string; last: string; }
19 >Math.floor(Math.random() * 6) : number
20 >Math.floor : (x: number) => number
22 >floor : (x: number) => number
64 const dice1 = () => Math.floor(Math.random() * 6);
66 >() => Math.floor(Math.random() * 6) : { (): number; last: string; }
67 >Math.floor(Math.random() * 6) : number
68 >Math.floor : (x: number) => number
70 >floor : (x: number) => number
[all …]
DtopLevelBlockExpando.symbols18 const dice = () => Math.floor(Math.random() * 6);
20 >Math.floor : Symbol(Math.floor, Decl(lib.es5.d.ts, --, --))
22 >floor : Symbol(Math.floor, Decl(lib.es5.d.ts, --, --))
58 const dice1 = () => Math.floor(Math.random() * 6);
60 >Math.floor : Symbol(Math.floor, Decl(lib.es5.d.ts, --, --))
62 >floor : Symbol(Math.floor, Decl(lib.es5.d.ts, --, --))
77 const dice2 = () => Math.floor(Math.random() * 6);
79 >Math.floor : Symbol(Math.floor, Decl(lib.es5.d.ts, --, --))
81 >floor : Symbol(Math.floor, Decl(lib.es5.d.ts, --, --))
DconstEnum2.symbols17 e = 199 * Math.floor(Math.random() * 1000),
19 >Math.floor : Symbol(Math.floor, Decl(lib.es5.d.ts, --, --))
21 >floor : Symbol(Math.floor, Decl(lib.es5.d.ts, --, --))
26 f = d - (100 * Math.floor(Math.random() % 8))
29 >Math.floor : Symbol(Math.floor, Decl(lib.es5.d.ts, --, --))
31 >floor : Symbol(Math.floor, Decl(lib.es5.d.ts, --, --))
DenumNumbering1.symbols11 C = Math.floor(Math.random() * 1000),
13 >Math.floor : Symbol(Math.floor, Decl(lib.es5.d.ts, --, --))
15 >floor : Symbol(Math.floor, Decl(lib.es5.d.ts, --, --))
DenumNumbering1.types11 C = Math.floor(Math.random() * 1000),
13 >Math.floor(Math.random() * 1000) : number
14 >Math.floor : (x: number) => number
16 >floor : (x: number) => number
/third_party/skia/resources/sksl/intrinsics/
DFloor.sksl7 return (floor(testInputs.x) == expected.x &&
8 floor(testInputs.xy) == expected.xy &&
9 floor(testInputs.xyz) == expected.xyz &&
10 floor(testInputs.xyzw) == expected.xyzw &&
11 floor(constVal.x) == expected.x &&
12 floor(constVal.xy) == expected.xy &&
13 floor(constVal.xyz) == expected.xyz &&
14 floor(constVal.xyzw) == expected.xyzw) ? colorGreen : colorRed;
/third_party/node/deps/npm/node_modules/tiny-relative-date/src/
Dfactory.js56 return translate('minutes', Math.floor(delta / minute))
58 case Math.floor(delta / hour) !== 1:
62 return translate('hours', Math.floor(delta / hour))
68 return translate('days', Math.floor(delta / day))
70 case Math.floor(delta / week) !== 1:
74 return translate('weeks', Math.floor(delta / week))
76 case Math.floor(delta / month) !== 1:
80 return translate('months', Math.floor(delta / month))
82 case Math.floor(delta / year) !== 1:
/third_party/node/deps/npm/node_modules/tiny-relative-date/lib/
Dfactory.js66 return translate('minutes', Math.floor(delta / minute));
68 case Math.floor(delta / hour) !== 1:
72 return translate('hours', Math.floor(delta / hour));
78 return translate('days', Math.floor(delta / day));
80 case Math.floor(delta / week) !== 1:
84 return translate('weeks', Math.floor(delta / week));
86 case Math.floor(delta / month) !== 1:
90 return translate('months', Math.floor(delta / month));
92 case Math.floor(delta / year) !== 1:
/third_party/protobuf/js/binary/
Dencoder.js84 goog.asserts.assert(lowBits == Math.floor(lowBits));
85 goog.asserts.assert(highBits == Math.floor(highBits));
109 goog.asserts.assert(lowBits == Math.floor(lowBits));
110 goog.asserts.assert(highBits == Math.floor(highBits));
126 goog.asserts.assert(value == Math.floor(value));
145 goog.asserts.assert(value == Math.floor(value));
174 goog.asserts.assert(value == Math.floor(value));
190 goog.asserts.assert(value == Math.floor(value));
205 goog.asserts.assert(value == Math.floor(value));
219 goog.asserts.assert(value == Math.floor(value));
[all …]
/third_party/libxml2/result/XPath/expr/
Dfunctions23 Expression: floor(0.1)
27 Expression: floor(-0.1)
31 Expression: floor(-0)
35 Expression: floor(0)
39 Expression: floor(5.2)
43 Expression: floor(-5.2)
47 Expression: floor(100000000000000000000)
51 Expression: floor(-100000000000000000000)
55 Expression: floor(0 div 0)
59 Expression: floor(1 div 0)
[all …]
/third_party/node/deps/npm/node_modules/uri-js/node_modules/punycode/
Dpunycode.es6.js30 const floor = Math.floor; constant
181 delta = firstTime ? floor(delta / damp) : delta >> 1;
182 delta += floor(delta / numPoints);
184 delta = floor(delta / baseMinusTMin);
186 return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));
240 if (digit >= base || digit > floor((maxInt - i) / w)) {
252 if (w > floor(maxInt / baseMinusT)) {
265 if (floor(i / out) > maxInt - n) {
269 n += floor(i / out);
334 if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {
[all …]
Dpunycode.js30 const floor = Math.floor; constant
181 delta = firstTime ? floor(delta / damp) : delta >> 1;
182 delta += floor(delta / numPoints);
184 delta = floor(delta / baseMinusTMin);
186 return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));
240 if (digit >= base || digit > floor((maxInt - i) / w)) {
252 if (w > floor(maxInt / baseMinusT)) {
265 if (floor(i / out) > maxInt - n) {
269 n += floor(i / out);
334 if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {
[all …]
/third_party/node/lib/
Dpunycode.js30 const floor = Math.floor; constant
181 delta = firstTime ? floor(delta / damp) : delta >> 1;
182 delta += floor(delta / numPoints);
184 delta = floor(delta / baseMinusTMin);
186 return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));
240 if (digit >= base || digit > floor((maxInt - i) / w)) {
252 if (w > floor(maxInt / baseMinusT)) {
265 if (floor(i / out) > maxInt - n) {
269 n += floor(i / out);
334 if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {
[all …]
/third_party/node/deps/npm/node_modules/punycode/
Dpunycode.js52 floor = Math.floor,
219 delta = firstTime ? floor(delta / damp) : delta >> 1;
220 delta += floor(delta / numPoints);
222 delta = floor(delta / baseMinusTMin);
224 return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));
288 if (digit >= base || digit > floor((maxInt - i) / w)) {
300 if (w > floor(maxInt / baseMinusT)) {
313 if (floor(i / out) > maxInt - n) {
317 n += floor(i / out);
399 if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {
[all …]
/third_party/skia/tests/sksl/intrinsics/
DMod.metal36floor(_skTemp0 / _skTemp1)) == expectedA.x && all((_skTemp2 = _uniforms.testInputs.xy, _skTemp3 = …
DFloor.glsl8 …return ((((((floor(testInputs.x) == expected.x && floor(testInputs.xy) == expected.xy) && floor(te…
/third_party/flutter/flutter/packages/flutter/test/physics/
Dnewton_test.dart153 expect(crit.x(0.25).floor(), 458.0);
154 expect(crit.x(0.50).floor(), 496.0);
155 expect(crit.x(0.75).floor(), 499.0);
157 expect(crit.dx(0.25).floor(), 410);
158 expect(crit.dx(0.50).floor(), 33);
159 expect(crit.dx(0.75).floor(), 2);
177 expect(over.x(0.5).floor(), 445.0);
178 expect(over.x(1.0).floor(), 495.0);
179 expect(over.x(1.5).floor(), 499.0);
181 expect(over.dx(0.5).floor(), 273.0);
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/data/
Dnumberpermutationtest.txt508 compact-short percent rounding-mode-floor
522 compact-short currency/EUR rounding-mode-floor
536 compact-short measure-unit/length-furlong rounding-mode-floor
550 scientific/+ee/sign-always percent rounding-mode-floor
564 scientific/+ee/sign-always currency/EUR rounding-mode-floor
578 scientific/+ee/sign-always measure-unit/length-furlong rounding-mode-floor
1320 compact-short unit-width-narrow rounding-mode-floor
1334 compact-short unit-width-full-name rounding-mode-floor
1348 scientific/+ee/sign-always unit-width-narrow rounding-mode-floor
1362 scientific/+ee/sign-always unit-width-full-name rounding-mode-floor
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/
Dnumberpermutationtest.txt508 compact-short percent rounding-mode-floor
522 compact-short currency/EUR rounding-mode-floor
536 compact-short measure-unit/length-furlong rounding-mode-floor
550 scientific/+ee/sign-always percent rounding-mode-floor
564 scientific/+ee/sign-always currency/EUR rounding-mode-floor
578 scientific/+ee/sign-always measure-unit/length-furlong rounding-mode-floor
1320 compact-short unit-width-narrow rounding-mode-floor
1334 compact-short unit-width-full-name rounding-mode-floor
1348 scientific/+ee/sign-always unit-width-narrow rounding-mode-floor
1362 scientific/+ee/sign-always unit-width-full-name rounding-mode-floor
[all …]
/third_party/skia/third_party/externals/angle2/src/common/
Dmathutil.cpp55 std::max<float>(-g_sharedexp_bias - 1, floor(log(max_c))) + 1 + g_sharedexp_bias; in convertRGBFloatsTo999E5()
57 floor((max_c / (pow(2.0f, exp_p - g_sharedexp_biased_mantissabits))) + 0.5f)); in convertRGBFloatsTo999E5()
63 output.R = static_cast<unsigned int>(floor((red_c / pow2_exp) + 0.5f)); in convertRGBFloatsTo999E5()
64 output.G = static_cast<unsigned int>(floor((green_c / pow2_exp) + 0.5f)); in convertRGBFloatsTo999E5()
65 output.B = static_cast<unsigned int>(floor((blue_c / pow2_exp) + 0.5f)); in convertRGBFloatsTo999E5()
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dmathutil.cpp52 std::max<float>(-g_sharedexp_bias - 1, floor(log(max_c))) + 1 + g_sharedexp_bias; in convertRGBFloatsTo999E5()
54 floor((max_c / (pow(2.0f, exp_p - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f)); in convertRGBFloatsTo999E5()
60 floor((red_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f)); in convertRGBFloatsTo999E5()
62 floor((green_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f)); in convertRGBFloatsTo999E5()
64 floor((blue_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f)); in convertRGBFloatsTo999E5()

12345678910>>...51