Refactor flo_mod func in numeric.c
Merge pull request #2534 from suzukaze/refactor-numeric.c

Refactor flo_mod func in numeric.c