Home
last modified time | relevance | path

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

/external/v8/test/cctest/
Dtest-utils.cc42 CHECK_EQ(-1000000, FastD2I(-1000000.0)); in TEST()
43 CHECK_EQ(-1, FastD2I(-1.0)); in TEST()
44 CHECK_EQ(0, FastD2I(0.0)); in TEST()
45 CHECK_EQ(1, FastD2I(1.0)); in TEST()
46 CHECK_EQ(1000000, FastD2I(1000000.0)); in TEST()
48 CHECK_EQ(-1000000, FastD2I(-1000000.123)); in TEST()
49 CHECK_EQ(-1, FastD2I(-1.234)); in TEST()
50 CHECK_EQ(0, FastD2I(0.345)); in TEST()
51 CHECK_EQ(1, FastD2I(1.234)); in TEST()
52 CHECK_EQ(1000000, FastD2I(1000000.123)); in TEST()
/external/v8/src/
Dconversions.h57 inline int FastD2I(double x) { in FastD2I() function
162 value <= Smi::kMaxValue && value == FastI2D(FastD2I(value)); in IsSmiDouble()
173 value == FastI2D(FastD2I(value)); in IsInt32Double()
Dconversions-inl.h86 int32_t i = FastD2I(x); in DoubleToInt32()
Dtypes.cc278 if (IsInt32Double(value)) return Lub(FastD2I(value)); in Lub()
Dfactory.cc1021 int int_value = FastD2I(value); in NewNumber()
Dobjects-inl.h1085 int int_value = FastD2I(value); in ToSmi()
Dobjects.cc182 if (FastI2D(FastD2I(num)) == num) { in ToInt32()
183 *value = FastD2I(num); in ToInt32()
Druntime.cc7022 int int_value = FastD2I(value); in RUNTIME_FUNCTION()
/external/v8/src/compiler/
Dmachine-operator-reducer.cc398 if (m.HasValue()) return ReplaceInt32(FastD2I(m.Value())); in Reduce()
/external/v8/test/cctest/compiler/
Dtest-js-typed-lowering.cc269 double e = static_cast<double>(is_signed ? FastD2I(v) : FastD2UI(v)); in CheckToI32()
/external/v8/src/ic/
Dic.cc1112 int int_value = FastD2I(value); in TryConvertKey()