Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ fmod() [6/10]

template<typename T1 , typename T2 , require_all_arithmetic_t< T1, T2 > * = nullptr>
double stan::math::fmod ( const T1 &  a,
const T2 &  b 
)
inline

Returns the floating-point remainder of numerator/denominator (rounded towards zero).

Template Parameters
T1type of the numerator (must be arithmetic)
T2type of the denominator (must be arithmetic)
Parameters
athe numerator
bthe denominator
Returns
the floating-point remainder of a/b.

Definition at line 22 of file fmod.hpp.