#include "moab/Remapping/IntegerReprosum.hpp"#include <cmath>#include <cstdlib>#include <algorithm>#include <limits>#include <cassert>
Include dependency graph for IntegerReprosum.cpp:Go to the source code of this file.
Namespaces | |
| moab | |
| Class representing axis-aligned bounding box. | |
| moab::anonymous_namespace{IntegerReprosum.cpp} | |
Functions | |
| double | moab::anonymous_namespace{IntegerReprosum.cpp}::frac_and_exp (double x, int &exp_out) |
| Fortran-equivalent fraction(x) for radix-2 doubles: returns f in [0.5, 1) (or in (-1, -0.5] for negative x) and stores the exponent so that x = f * 2^e Same as std::frexp. More... | |
| double | moab::anonymous_namespace{IntegerReprosum.cpp}::scale2 (double x, int n) |
| Fortran-equivalent scale(x, n) for radix-2 doubles: returns x * 2^n. Same as std::ldexp. More... | |
| double | moab::anonymous_namespace{IntegerReprosum.cpp}::set_exp (double x, int e) |
| Fortran-equivalent set_exponent(x, e): returns a value with the same fraction as x but with exponent e. Same as ldexp(frexp(x, &dummy), e) More... | |
| int64_t | moab::anonymous_namespace{IntegerReprosum.cpp}::i2pow (int k) |
| MPI_INT64_T equivalent for our int64 type. Use MPI_LONG_LONG_INT for portability across MPI implementations that don't yet expose MPI_INT64_T as a primary datatype. More... | |