new modff.c code, fix nan handling in modfl
2 files changed