• Home
  • Raw
  • Download

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();
50 // Helper defines for double
97 static JSTaggedValue DoubleToString(JSThread *thread, double number, int radix);
100 static double TruncateDouble(double d);
101 static int64_t DoubleToInt64(double d);
102 …static double StringToDouble(const uint8_t *start, const uint8_t *end, uint8_t radix, uint32_t fla…
103 static int32_t DoubleToInt(double d, size_t bits);
104 static int32_t DoubleInRangeInt32(double d);
105 static JSTaggedValue DoubleToExponential(JSThread *thread, double number, int digit);
106 static JSTaggedValue DoubleToFixed(JSThread *thread, double number, int digit);
107 static JSTaggedValue DoubleToPrecision(JSThread *thread, double number, int digit);
115 static double Strtod(const char *str, int exponent, uint8_t radix);
116 … static CString DecimalsToString(int64_t *numberInteger, double fraction, int radix, double delta);
118 static void GetBase(double d, int digits, int *decpt, char *buf, char *bufTmp, int size);
119 static int GetMinmumDigits(double d, int *decpt, char *buf);