Skip to content

Commit

Permalink
moving error_free_ops.hpp from native to numerics to keep ieee754.hpp…
Browse files Browse the repository at this point in the history
… lightweight
  • Loading branch information
Ravenwater committed Aug 27, 2024
1 parent 0718545 commit 1e6120d
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 10 deletions.
3 changes: 0 additions & 3 deletions include/universal/native/ieee754.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,3 @@

// numeric helpers
#include <universal/native/ieee754_numeric.hpp>

// error-free operations
#include <universal/native/error_free_ops.hpp>
2 changes: 2 additions & 0 deletions include/universal/number/dd/dd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@
#include <universal/traits/arithmetic_traits.hpp>
#include <universal/common/number_traits_reports.hpp>



////////////////////////////////////////////////////////////////////////////////////////
/// INCLUDE FILES that make up the library
#include <universal/number/dd/exceptions.hpp>
Expand Down
1 change: 1 addition & 0 deletions include/universal/number/dd/dd_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

// supporting types and functions
#include <universal/native/ieee754.hpp>
#include <universal/numerics/error_free_ops.hpp>
#include <universal/number/shared/nan_encoding.hpp>
#include <universal/number/shared/infinite_encoding.hpp>
#include <universal/number/shared/specific_value_encoding.hpp>
Expand Down
1 change: 1 addition & 0 deletions include/universal/number/qd/qd_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

// supporting types and functions
#include <universal/native/ieee754.hpp>
#include <universal/numerics/error_free_ops.hpp>
#include <universal/number/shared/nan_encoding.hpp>
#include <universal/number/shared/infinite_encoding.hpp>
#include <universal/number/shared/specific_value_encoding.hpp>
Expand Down
File renamed without changes.
4 changes: 1 addition & 3 deletions static/dd/api/experiments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <universal/number/dd/dd.hpp>
#include <universal/number/cfloat/cfloat.hpp>
#include <universal/verification/test_suite.hpp>
//#include <universal/native/error_free_ops.hpp> // integral part of double-double and quad-double but can be used standalone
//#include <universal/numerics/error_free_ops.hpp> // integral part of double-double and quad-double but can be used standalone
#include <universal/common/string_utils.hpp>

namespace sw {
Expand Down Expand Up @@ -111,8 +111,6 @@ namespace sw {
}
}



int main()
try {
using namespace sw::universal;
Expand Down
1 change: 0 additions & 1 deletion static/qd/api/api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include <universal/number/qd/qd.hpp>
#include <universal/number/cfloat/cfloat.hpp>
#include <universal/verification/test_suite.hpp>
#include <universal/native/error_free_ops.hpp>
#include <universal/common/string_utils.hpp>

namespace sw {
Expand Down
4 changes: 1 addition & 3 deletions static/qd/api/experiments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <universal/number/qd/qd.hpp>
#include <universal/number/cfloat/cfloat.hpp>
#include <universal/verification/test_suite.hpp>
//#include <universal/native/error_free_ops.hpp> // integral part of double-double and quad-double but can be used standalone
//#include <universal/numerics/error_free_ops.hpp> // integral part of double-double and quad-double but can be used standalone
#include <universal/common/string_utils.hpp>

namespace sw {
Expand Down Expand Up @@ -79,8 +79,6 @@ namespace sw {
}
}



int main()
try {
using namespace sw::universal;
Expand Down

0 comments on commit 1e6120d

Please sign in to comment.