Lines Matching full:double
25 constexpr double MIN_RADIX = 2;
26 constexpr double MAX_RADIX = 36;
27 constexpr double MIN_FRACTION = 0;
28 constexpr double MAX_FRACTION = 100;
42 static constexpr double HALF = 0.5;
43 static constexpr double EPSILON = std::numeric_limits<double>::epsilon();
45 static constexpr double MAX_VALUE = std::numeric_limits<double>::max();
46 static constexpr double MIN_VALUE = std::numeric_limits<double>::min();
47 static constexpr double POSITIVE_INFINITY = std::numeric_limits<double>::infinity();
48 static constexpr double NAN_VALUE = std::numeric_limits<double>::quiet_NaN();
51 // Helper defines for double
75 // Exponent bits for double value between [1.0, 2.0)
98 static JSTaggedValue DoubleToString(JSThread *thread, double number, int radix);
102 static double TruncateDouble(double d);
103 static int64_t DoubleToInt64(double d);
104 …static double StringToDouble(const uint8_t *start, const uint8_t *end, uint8_t radix, uint32_t fla…
105 static int32_t DoubleToInt(double d, size_t bits);
106 static int32_t DoubleInRangeInt32(double d);
107 static JSTaggedValue DoubleToExponential(JSThread *thread, double number, int digit);
108 static JSTaggedValue DoubleToFixed(JSThread *thread, double number, int digit);
109 static JSTaggedValue DoubleToPrecision(JSThread *thread, double number, int digit);
112 static CString IntegerToString(double number, int radix);
117 static double Strtod(const char *str, int exponent, uint8_t radix);
118 … static CString DecimalsToString(double *numberInteger, double fraction, int radix, double delta);
120 static void GetBase(double d, int digits, int *decpt, char *buf, char *bufTmp, int size);
121 static int GetMinmumDigits(double d, int *decpt, char *buf);
130 static double NextDouble();
136 static double ToDouble(uint64_t state);