Skip to content

Commit e380b3f

Browse files
committed
clang-format
1 parent 6de90b5 commit e380b3f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

lib/fizzy/capi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
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

1616
namespace

lib/fizzy/execute.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)