3#ifndef pRC_CORE_VALUE_FUNCTIONS_FMOD_H
4#define pRC_CORE_VALUE_FUNCTIONS_FMOD_H
24 template<
class TA,
class TB, If<IsFloat<TA>> = 0, If<IsFloat<TB>> = 0>
25 static inline constexpr auto fmod(
TA const &a,
TB const &b)
27 return Float(std::fmod(a(), b()));
40 template<
class TA,
class TB, If<IsInteger<TA>> = 0, If<IsFloat<TB>> = 0>
41 static inline constexpr auto fmod(
TA const &a,
TB const &b)
56 template<
class TA,
class TB, If<IsFloat<TA>> = 0, If<IsInteger<TB>> = 0>
57 static inline constexpr auto fmod(
TA const &a,
TB const &b)
72 template<
class TA,
class TB, If<IsInteger<TA>> = 0, If<IsInteger<TB>> = 0>
73 static inline constexpr auto fmod(
TA const &a,
TB const &b)
Top-level class storing a floating point number.
Definition float.hpp:35
Definition cholesky.hpp:18
static constexpr Conditional< IsSatisfied< C >, RemoveConstReference< X >, X > copy(X &&a)
Definition copy.hpp:13
static constexpr auto cast(Complex< T > const &a)
Definition cast.hpp:13
static constexpr auto fmod(XA &&a, XB &&b)
Calculates the floating-point remainder of an element-wise integer division of two Tensors.
Definition fmod.hpp:25