45 if (radix32 != 0 && (radix32 < 2 || radix32 > 36)) {
50 return *isolate->factory()->NewNumber(
result);
61 std::numeric_limits<double>::quiet_NaN());
63 return *isolate->factory()->NewNumber(value);
74 return *isolate->factory()->NumberToString(
args.at(0),
89 return isolate->heap()->ToBoolean(
IsSmi(obj));
static V8_WARN_UNUSED_RESULT HandleType< String >::MaybeType ToString(Isolate *isolate, HandleType< T > input)
static V8_WARN_UNUSED_RESULT HandleType< Number >::MaybeType ToNumber(Isolate *isolate, HandleType< T > input)
static double NumberValue(Tagged< Number > obj)
static constexpr Tagged< Smi > FromInt(int value)
static constexpr int kMaxValue
static V8_INLINE HandleType< String > Flatten(Isolate *isolate, HandleType< T > string, AllocationType allocation=AllocationType::kYoung)
static HandleType< Number > ToNumber(Isolate *isolate, HandleType< String > subject)
#define RUNTIME_FUNCTION(Name)
#define ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, dst, call)
base::Vector< const DirectHandle< Object > > args
ZoneVector< RpoNumber > & result
bool IsNumber(Tagged< Object > obj)
double StringToInt(Isolate *isolate, DirectHandle< String > string, int radix)
V8_INLINE constexpr bool IsSmi(TaggedImpl< kRefType, StorageType > obj)
int32_t DoubleToInt32(double x)
constexpr uint32_t kHoleNanLower32
constexpr uint32_t kHoleNanUpper32
double StringToDouble(const char *str, ConversionFlag flags, double empty_string_val)
#define DCHECK_EQ(v1, v2)