|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
#include <json.hpp>
Public Member Functions | |
| constexpr | diyfp (std::uint64_t f_, int e_) noexcept |
Static Public Member Functions | |
| static diyfp | sub (const diyfp &x, const diyfp &y) noexcept |
| returns x - y | |
| static diyfp | mul (const diyfp &x, const diyfp &y) noexcept |
| returns x * y | |
| static diyfp | normalize (diyfp x) noexcept |
| normalize x such that the significand is >= 2^(q-1) | |
| static diyfp | normalize_to (const diyfp &x, const int target_exponent) noexcept |
| normalize x such that the result has the exponent E | |
Public Attributes | |
| std::uint64_t | f = 0 |
| int | e = 0 |
Static Public Attributes | |
| static constexpr int | kPrecision = 64 |
|
inlineconstexprnoexcept |
Definition at line 16971 of file json.hpp.
Referenced by mul(), normalize(), normalize_to(), and sub().
returns x * y
Definition at line 16989 of file json.hpp.
References diyfp(), and kPrecision.
Referenced by detail::dtoa_impl::grisu2().
normalize x such that the significand is >= 2^(q-1)
Definition at line 17054 of file json.hpp.
References diyfp(), and JSON_ASSERT.
Referenced by detail::dtoa_impl::compute_boundaries().
|
inlinestaticnoexcept |
normalize x such that the result has the exponent E
Definition at line 17071 of file json.hpp.
References diyfp(), and JSON_ASSERT.
Referenced by detail::dtoa_impl::compute_boundaries().
returns x - y
Definition at line 16977 of file json.hpp.
References diyfp(), and JSON_ASSERT.
Referenced by detail::dtoa_impl::grisu2_digit_gen().
| int detail::dtoa_impl::diyfp::e = 0 |
Definition at line 16969 of file json.hpp.
Referenced by detail::dtoa_impl::compute_boundaries(), diyfp(), detail::dtoa_impl::grisu2(), and detail::dtoa_impl::grisu2_digit_gen().
| std::uint64_t detail::dtoa_impl::diyfp::f = 0 |
Definition at line 16968 of file json.hpp.
Referenced by detail::dtoa_impl::compute_boundaries(), diyfp(), detail::dtoa_impl::grisu2(), detail::dtoa_impl::grisu2_digit_gen(), test_injector_layout.TestContouredFace::test_clearances_are_to_the_groove_edges(), test_injector_layout.TestContouredFace::test_each_exit_is_square_on_its_flank(), test_injector_layout.TestContouredFace::test_exits_share_one_recessed_plane(), test_injector_layout.TestContouredFace::test_free_jet_is_measured_along_the_jet(), test_injector_layout.TestContouredFace::test_groove_edges_and_depth(), and test_injector_layout.TestContouredFace::test_the_jets_meet_where_trigonometry_says().
|
staticconstexpr |
Definition at line 16966 of file json.hpp.
Referenced by detail::dtoa_impl::grisu2(), and mul().