Home
last modified time | relevance | path

Searched refs:FastD2I (Results 1 – 9 of 9) sorted by relevance

/external/v8/test/cctest/
Dtest-utils.cc41 CHECK_EQ(-1000000, FastD2I(-1000000.0)); in TEST()
42 CHECK_EQ(-1, FastD2I(-1.0)); in TEST()
43 CHECK_EQ(0, FastD2I(0.0)); in TEST()
44 CHECK_EQ(1, FastD2I(1.0)); in TEST()
45 CHECK_EQ(1000000, FastD2I(1000000.0)); in TEST()
47 CHECK_EQ(-1000000, FastD2I(-1000000.123)); in TEST()
48 CHECK_EQ(-1, FastD2I(-1.234)); in TEST()
49 CHECK_EQ(0, FastD2I(0.345)); in TEST()
50 CHECK_EQ(1, FastD2I(1.234)); in TEST()
51 CHECK_EQ(1000000, FastD2I(1000000.123)); in TEST()
/external/v8/src/
Dconversions-inl.h87 int32_t i = FastD2I(x); in DoubleToInt32()
103 value <= Smi::kMaxValue && value == FastI2D(FastD2I(value)); in IsSmiDouble()
109 value == FastI2D(FastD2I(value)); in IsInt32Double()
Dconversions.h56 inline int FastD2I(double x) { in FastD2I() function
Dbuiltins.cc2045 int y = FastD2I(year); in MakeDay()
2046 int m = FastD2I(month); in MakeDay()
Dobjects.cc959 if (FastI2D(FastD2I(num)) == num) { in ToInt32()
960 *value = FastD2I(num); in ToInt32()
1497 return Smi::FromInt(FastD2I(num))->GetHash(); in GetSimpleHash()
/external/v8/src/runtime/
Druntime-numbers.cc202 int int_value = FastD2I(value); in RUNTIME_FUNCTION()
/external/v8/src/compiler/
Dmachine-operator-reducer.cc392 if (m.HasValue()) return ReplaceInt32(FastD2I(m.Value())); in Reduce()
/external/v8/test/cctest/compiler/
Dtest-js-typed-lowering.cc323 double e = static_cast<double>(is_signed ? FastD2I(v) : FastD2UI(v)); in CheckToI32()
/external/v8/src/ic/
Dic.cc1287 int int_value = FastD2I(value); in TryConvertKey()