51int ndigits_for(std::uint32_t x) {
99 constexpr std::uint64_t one = 1;
100 constexpr std::uint64_t
p = 53;
102 std::memcpy(&
pun, &
v,
sizeof(
v));
126 f =
m + (one << (
p - 1));
128 auto e = std::int64_t(
be) - 1075;
131 if (
f != (one << (
p - 1))) {
149 if ((
be == 0) || (
f != (one << (
p - 1)))) {
190 for (n = 0;
true; ++n) {
225 if (0 <=
k &&
k <= n) {
237 for (
int i = 0;
i < n; ++
i) {
240 for (
int i = 0;
i < -
k; ++
i) {
277 for (
int i = 0;
i <
ne / 2; ++
i) {
Arbitrary-precision unsigned integer definition.
Declares Teuchos::print_double.
Smart reference counting pointer class for automatic garbage collection.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
void print_double(std::ostream &os, double v)
Prints a double-precision floating-point number exactly using minimal characters.