Skip to content

Commit 2fd299e

Browse files
committed
Try again to repair CI
1 parent 2bdd7f1 commit 2fd299e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/cmath/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ ifeq ($(STD),c++20)
2424
WARNFLAGS+=-Wno-volatile
2525
endif
2626

27-
CXXFLAGS=-std=$(STD) -O2 $(WARNFLAGS) -mdouble=64 -mlong-double=64 -fno-exceptions -fno-rtti -fno-unwind-tables -fno-threadsafe-statics -Wshadow -Wcast-qual -Wpointer-arith -Wundef
28-
LDFLAGS=-x none $(CXXFLAGS) -lm
27+
CXXFLAGS=-std=$(STD) -O2 $(WARNFLAGS) -fno-exceptions -fno-rtti -fno-unwind-tables -fno-threadsafe-statics -Wshadow -Wcast-qual -Wpointer-arith -Wundef
28+
LDFLAGS=-lm
2929

3030
TARGET=$(BUILD_DIR)/$(NAME)
3131

examples/cmath/cmath.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ auto cyl_bessel_j(const std::uint_fast8_t n, const FloatingPointType& x) noexcep
147147

148148
auto main() -> int
149149
{
150-
using my_float_type = std::double_t;
150+
using my_float_type = std::float_t;
151151

152-
static_assert((std::numeric_limits<my_float_type>::digits >= 53), "Error: Incorrect my_float_type type definition");
152+
static_assert((std::numeric_limits<my_float_type>::digits == 24), "Error: Incorrect my_float_type type definition");
153153

154154
constexpr my_float_type my_tol =
155155
static_cast<my_float_type>

0 commit comments

Comments
 (0)