#ifndef V8_NUMBERS_CONVERSIONS_INL_H_
#define V8_NUMBERS_CONVERSIONS_INL_H_
#include <float.h>
#include <limits.h>
#include <stdarg.h>
#include <cmath>
#include "src/common/globals.h"
#include "src/base/bits.h"
#include "src/base/numbers/double.h"
#include "src/base/platform/platform.h"
#include "src/numbers/conversions.h"
#include "src/objects/heap-number-inl.h"
#include "src/objects/smi-inl.h"
namespace v8 {
namespace internal {
inline unsigned int FastD2UI(double x) { … }
inline uint16_t DoubleToFloat16(double value) { … }
inline float DoubleToFloat32(double x) { … }
inline double DoubleToInteger(double x) { … }
int32_t DoubleToInt32(double x) { … }
inline int64_t DoubleToWebIDLInt64(double x) { … }
inline uint64_t DoubleToWebIDLUint64(double x) { … }
bool DoubleToSmiInteger(double value, int* smi_int_value) { … }
bool IsSmiDouble(double value) { … }
bool IsInt32Double(double value) { … }
bool IsUint32Double(double value) { … }
bool DoubleToUint32IfEqualToSelf(double value, uint32_t* uint32_value) { … }
int32_t NumberToInt32(Tagged<Object> number) { … }
uint32_t NumberToUint32(Tagged<Object> number) { … }
uint32_t PositiveNumberToUint32(Tagged<Object> number) { … }
int64_t NumberToInt64(Tagged<Object> number) { … }
uint64_t PositiveNumberToUint64(Tagged<Object> number) { … }
bool TryNumberToSize(Tagged<Object> number, size_t* result) { … }
size_t NumberToSize(Tagged<Object> number) { … }
uint32_t DoubleToUint32(double x) { … }
}
}
#endif