Skip to content

Commit

Permalink
directvt#696 Clear FPU exceptions at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
o-sdn-o committed Dec 20, 2024
1 parent 66998a9 commit 95b69d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/netxs/desktopio/intmath.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ namespace netxs
using arch = size_t;
using flag = std::atomic<bool>;

static const auto feclearexcept = []{ return std::feclearexcept(FE_ALL_EXCEPT); }();
constexpr size_t operator "" _sz (unsigned long long i) { return static_cast<size_t>(i); }
static constexpr auto bytemin = std::numeric_limits<byte>::min();
static constexpr auto bytemax = std::numeric_limits<byte>::max();
Expand Down

0 comments on commit 95b69d8

Please sign in to comment.