File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 99#include " parser.hpp"
1010#include < fizzy/fizzy.h>
1111#include < algorithm>
12- #include < iterator>
1312#include < cstring>
13+ #include < iterator>
1414#include < memory>
1515
1616namespace
Original file line number Diff line number Diff line change @@ -462,7 +462,8 @@ template <typename T>
462462#ifndef _MSC_VER
463463__attribute__ ((no_sanitize(" float-divide-by-zero" )))
464464#endif
465- inline constexpr T fdiv (T a, T b) noexcept
465+ inline constexpr T
466+ fdiv (T a, T b) noexcept
466467{
467468 static_assert (std::is_floating_point_v<T>);
468469 static_assert (std::numeric_limits<T>::is_iec559);
@@ -500,8 +501,8 @@ inline T fmax(T a, T b) noexcept
500501#ifndef _MSC_VER
501502__attribute__ ((no_sanitize(" float-cast-overflow" )))
502503#endif
503- inline constexpr float demote (
504- double value) noexcept
504+ inline constexpr float
505+ demote ( double value) noexcept
505506{
506507 // The float-cast-overflow UBSan check disabled for this conversion. In older clang versions
507508 // (up to 8.0) it reports a failure when non-infinity f64 value is converted to f32 infinity.
You can’t perform that action at this time.
0 commit comments