Home
last modified time | relevance | path

Searched defs:diyfp (Results 1 – 2 of 2) sorted by relevance

/third_party/json/include/nlohmann/detail/conversions/
Dto_chars.hpp49 struct diyfp // f * 2^e struct
51 static constexpr int kPrecision = 64; // = q
53 std::uint64_t f = 0;
54 int e = 0;
56 constexpr diyfp(std::uint64_t f_, int e_) noexcept : f(f_), e(e_) {} in diyfp() argument
62 static diyfp sub(const diyfp& x, const diyfp& y) noexcept in sub()
74 static diyfp mul(const diyfp& x, const diyfp& y) noexcept in mul()
139 static diyfp normalize(diyfp x) noexcept in normalize()
156 static diyfp normalize_to(const diyfp& x, const int target_exponent) noexcept in normalize_to()
/third_party/json/single_include/nlohmann/
Djson.hpp15272 struct diyfp // f * 2^e struct
15274 static constexpr int kPrecision = 64; // = q
15276 std::uint64_t f = 0;
15277 int e = 0;
15279 constexpr diyfp(std::uint64_t f_, int e_) noexcept : f(f_), e(e_) {} in diyfp() argument
15285 static diyfp sub(const diyfp& x, const diyfp& y) noexcept in sub()
15297 static diyfp mul(const diyfp& x, const diyfp& y) noexcept in mul()
15362 static diyfp normalize(diyfp x) noexcept in normalize()
15379 static diyfp normalize_to(const diyfp& x, const int target_exponent) noexcept in normalize_to()