to match fmod frem result must have the dividend sign. Previous implementation had the wrong sign when passing negative numbers. For ex: frem(-16, 7) was returning 5 instead of -2. We should just a ftrunc instead of floor when lowering to get the right behavior.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo