tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
fmod.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_CMATH_FMOD_HPP
4#define TETL_CMATH_FMOD_HPP
5
6#include <etl/_3rd_party/gcem/gcem.hpp>
7
8namespace etl {
9
12
15[[nodiscard]] constexpr auto fmod(float x, float y) noexcept -> float { return etl::detail::gcem::fmod(x, y); }
16[[nodiscard]] constexpr auto fmodf(float x, float y) noexcept -> float { return etl::detail::gcem::fmod(x, y); }
17[[nodiscard]] constexpr auto fmod(double x, double y) noexcept -> double { return etl::detail::gcem::fmod(x, y); }
18[[nodiscard]] constexpr auto fmod(long double x, long double y) noexcept -> long double
19{
20 return etl::detail::gcem::fmod(x, y);
21}
22[[nodiscard]] constexpr auto fmodl(long double x, long double y) noexcept -> long double
23{
24 return etl::detail::gcem::fmod(x, y);
25}
26
28
29} // namespace etl
30
31#endif // TETL_CMATH_FMOD_HPP
constexpr auto fmodl(long double x, long double y) noexcept -> long double
Computes the floating-point remainder of the division operation x/y.
Definition fmod.hpp:22
constexpr auto fmodf(float x, float y) noexcept -> float
Computes the floating-point remainder of the division operation x/y.
Definition fmod.hpp:16
constexpr auto fmod(float x, float y) noexcept -> float
Computes the floating-point remainder of the division operation x/y.
Definition fmod.hpp:15
Definition adjacent_find.hpp:8