Skip to content

Commit

Permalink
preparing double-double math infrastructure to mimic universal/math s…
Browse files Browse the repository at this point in the history
…tructure
  • Loading branch information
Ravenwater committed Aug 31, 2024
1 parent 1bd83f2 commit 987fa79
Show file tree
Hide file tree
Showing 17 changed files with 14 additions and 18 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@

namespace sw { namespace universal {

// clang <complex> implementation is calling these functions so we need implementations for doubledouble (dd)


// copysign returns a value with the magnitude of a, and the sign of b
inline dd copysign(dd const& a, dd const& b) {
auto signA = std::copysign(1.0, a.high());
Expand Down
File renamed without changes.
File renamed without changes.
29 changes: 14 additions & 15 deletions include/universal/number/dd/mathlib.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,18 @@
//
// This file is part of the universal numbers project, which is released under an MIT Open Source license.

#include <universal/number/dd/math/numerics.hpp>
#include <universal/number/dd/math/functions/numerics.hpp>

#include <universal/number/dd/math/classify.hpp>
#include <universal/number/dd/math/complex.hpp>
#include <universal/number/dd/math/error_and_gamma.hpp>
#include <universal/number/dd/math/exponent.hpp>
#include <universal/number/dd/math/fractional.hpp>
#include <universal/number/dd/math/hyperbolic.hpp>
#include <universal/number/dd/math/hypot.hpp>
#include <universal/number/dd/math/logarithm.hpp>
#include <universal/number/dd/math/minmax.hpp>
#include <universal/number/dd/math/next.hpp>
#include <universal/number/dd/math/pow.hpp>
#include <universal/number/dd/math/sqrt.hpp>
#include <universal/number/dd/math/trigonometry.hpp>
#include <universal/number/dd/math/truncate.hpp>
#include <universal/number/dd/math/functions/classify.hpp>
#include <universal/number/dd/math/functions/error_and_gamma.hpp>
#include <universal/number/dd/math/functions/exponent.hpp>
#include <universal/number/dd/math/functions/fractional.hpp>
#include <universal/number/dd/math/functions/hyperbolic.hpp>
#include <universal/number/dd/math/functions/hypot.hpp>
#include <universal/number/dd/math/functions/logarithm.hpp>
#include <universal/number/dd/math/functions/minmax.hpp>
#include <universal/number/dd/math/functions/next.hpp>
#include <universal/number/dd/math/functions/pow.hpp>
#include <universal/number/dd/math/functions/sqrt.hpp>
#include <universal/number/dd/math/functions/trigonometry.hpp>
#include <universal/number/dd/math/functions/truncate.hpp>

0 comments on commit 987fa79

Please sign in to comment.