From c0a239cbce11b2f7b9d10aa2c784434badb0a77c Mon Sep 17 00:00:00 2001 From: Rinzii Date: Sat, 6 Apr 2024 02:05:58 -0400 Subject: [PATCH] Delete unused impl headers for fma --- ccmath_headers.cmake | 2 -- .../math/basic/impl/fma_double_impl.hpp | 31 ------------------- .../ccmath/math/basic/impl/fma_float_impl.hpp | 24 -------------- .../math/basic/impl/fma_ldouble_impl.hpp | 31 ------------------- 4 files changed, 88 deletions(-) delete mode 100644 include/ccmath/math/basic/impl/fma_double_impl.hpp delete mode 100644 include/ccmath/math/basic/impl/fma_float_impl.hpp delete mode 100644 include/ccmath/math/basic/impl/fma_ldouble_impl.hpp diff --git a/ccmath_headers.cmake b/ccmath_headers.cmake index 9175b4d7..181b3167 100644 --- a/ccmath_headers.cmake +++ b/ccmath_headers.cmake @@ -63,8 +63,6 @@ set(ccmath_internal_headers ########################################## set(ccmath_math_basic_impl_headers - ${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/basic/impl/fma_float_impl.hpp - ${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/basic/impl/fma_double_impl.hpp ${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/basic/impl/nan_float_impl.hpp ${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/basic/impl/nan_double_impl.hpp ${CMAKE_CURRENT_SOURCE_DIR}/include/ccmath/math/basic/impl/remquo_float_impl.hpp diff --git a/include/ccmath/math/basic/impl/fma_double_impl.hpp b/include/ccmath/math/basic/impl/fma_double_impl.hpp deleted file mode 100644 index 655f6326..00000000 --- a/include/ccmath/math/basic/impl/fma_double_impl.hpp +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2024-Present Ian Pike - * Copyright (c) 2024-Present ccmath contributors - * - * This library is provided under the MIT License. - * See LICENSE for more information. - */ - -#pragma once - -#include -#include -#include "ccmath/internal/predef/unlikely.hpp" -#include "ccmath/internal/support/bits.hpp" - -namespace ccm::internal -{ - namespace - { - namespace impl - { - inline constexpr double fma_double_impl(double x, double y, double z) noexcept - { - - // #pragma STDC FENV_ACCESS ON - - return 0; - } - } // namespace impl - } // namespace -} // namespace ccm::internal diff --git a/include/ccmath/math/basic/impl/fma_float_impl.hpp b/include/ccmath/math/basic/impl/fma_float_impl.hpp deleted file mode 100644 index c8005d70..00000000 --- a/include/ccmath/math/basic/impl/fma_float_impl.hpp +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (c) 2024-Present Ian Pike - * Copyright (c) 2024-Present ccmath contributors - * - * This library is provided under the MIT License. - * See LICENSE for more information. - */ - -#pragma once - -namespace ccm::internal -{ - namespace - { - namespace impl - { - inline constexpr double fma_float_impl(double x, double y, double z) noexcept - { - - return 0; - } - } // namespace impl - } // namespace -} // namespace ccm::internal diff --git a/include/ccmath/math/basic/impl/fma_ldouble_impl.hpp b/include/ccmath/math/basic/impl/fma_ldouble_impl.hpp deleted file mode 100644 index 30659d27..00000000 --- a/include/ccmath/math/basic/impl/fma_ldouble_impl.hpp +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2024-Present Ian Pike - * Copyright (c) 2024-Present ccmath contributors - * - * This library is provided under the MIT License. - * See LICENSE for more information. - */ - -#pragma once - -#include -#include -#include "ccmath/internal/predef/unlikely.hpp" -#include "ccmath/internal/support/bits.hpp" - -namespace ccm::internal -{ - namespace - { - namespace impl - { - inline constexpr double fma_ldouble_impl(double x, double y, double z) noexcept - { - - // #pragma STDC FENV_ACCESS ON - - return 0; - } - } // namespace impl - } // namespace -} // namespace ccm::internal