Open guitorri opened 7 years ago
git/qucs/qucs-core/src/math/real.cpp:256:36: warning: all paths through this function will call itself [-Winfinite-recursion] nr_double_t fmod( nr_double_t arg) {
Remove the qucs::fmod ? Use std::fmod direclty?
qucs::fmod
std::fmod
um, it seems that since some time we use std::fmod() anyway; didn't see where else it's used.
std::fmod()
BTW, checking for HAVE_STD_TRUNC in the fmod() routines seems weird :grin:
HAVE_STD_TRUNC
fmod()
In fact, I think the only place fmod is used is below: ./src/evaluate.cpp:974: _RETD (std::fmod (d1, d2));
./src/evaluate.cpp:974: _RETD (std::fmod (d1, d2));
Guess who is to blame for most of those tests? :smile:
Remove the
qucs::fmod
? Usestd::fmod
direclty?