Skip to content

Commit

Permalink
More cleanup and fix some bugs in msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinzii committed Apr 6, 2024
1 parent 3c03473 commit 0ab013a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/ccmath/internal/support/limits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

namespace ccm::support
{
enum class float_round_style : std::int8_t
enum float_round_style : std::int8_t
{
round_indeterminate = -1,
round_toward_zero = 0,
Expand Down
4 changes: 2 additions & 2 deletions include/ccmath/internal/types/uint.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
#include "ccmath/internal/predef/unlikely.hpp"
#include "ccmath/internal/predef/compiler_warnings_and_errors.hpp" // Required to disable -fpermissive
#include "ccmath/internal/support/bits.hpp"
#include "ccmath/internal/support/limits.hpp"
#include "ccmath/internal/support/math_support.hpp"
#include "ccmath/internal/support/type_identity.hpp"
#include "ccmath/internal/support/limits.hpp"

#include <array>
#include <cstddef> // For std::size_t
Expand All @@ -36,7 +36,7 @@
namespace ccm::internal
{
// This is a workaround to get -Wpedantic to not complain about the use of
// unsigned __int128 in a non-iso function.
// unsigned __int128, a non-iso type, inside of an iso function.
__extension__ using uint128_t = unsigned __int128;
} // namespace ccm::internal
#endif // defined(__SIZEOF_INT128__)
Expand Down

0 comments on commit 0ab013a

Please sign in to comment.