Displaying 2 results from an estimated 2 matches for "myfmod".
2013 Jul 13
2
missing PROTECT() in src/main/arithmetic.c
at lines 651 & 653 (integer_binary function):
if (code == DIVOP || code == POWOP)
ans = allocVector(REALSXP, n);
else
ans = allocVector(INTSXP, n);
There are calls to warningcall() later in the function, which can
trigger garbbage collection.
Looks like the typical scenario where it seemed pretty safe to not
PROTECT in the original version of the function but
2004 Dec 09
1
Modulus Bug (PR#7409)
R Developers,
1000000000000000000 %% 11
[1] -32
I now understand that integers cannot be larger than
.Machine$integer.max, but because the above produces a result than is
patently wrong instead of an error, I'm reporting this as a bug.
Thank you for the incredible contributions all of you have made in
developing the R platform.
Best,
Robert
Robert McGehee
Geode Capital Management, LLC
53