10-21-2015, 12:13 PM
I just noticed a strange behaviour of the RMDR and MOD functions. For large arguments they may return a "Domain Error". Some further investigation showed that these functions seem to work for y < 1E820 · x, and as soon as y gets larger the error occurs:
Since the arguments are out of range in single precision mode, all this happens only after switching to double precision.
Any idea what's going on here?
Dieter
Code:
[DBLON]
[EEX] 820 [ENTER] 360 [x] => 3,6 E+822
360 [RMDR] => Domain Error
[MOD] => Domain Error
[x<>y] [ENTER] [ULP] [-] => 3,599999999999999999999999999999999 E+822
360 [RMDR] => 80
Since the arguments are out of range in single precision mode, all this happens only after switching to double precision.
Any idea what's going on here?
Dieter