Search found 1 match

by ieeesub143
Mon Feb 15, 2021 12:08 pm
Forum: Support and Development
Topic: % over math.fmod for IEEE remainder not working
Replies: 1
Views: 2072

% over math.fmod for IEEE remainder not working

Hi. Someone said that you don't need math.fmod but you should use % for IEEE remainder. IEEE 754 specifies that x % Infinity should return x, for the % operator it returns NaN, for math.fmod it does it correctly. IEEE 754 also specified that remainder(x, y) should be the remainder of x / y rounded t...