search for: r_valueofna

Displaying 1 result from an estimated 1 matches for "r_valueofna".

2003 Apr 06
1
RH 9 and R 1.7.0 Beta - Errors Resolved
....2.2-5) We confirmed this running ./configure CFLAGS="-O0 -g" and I was able to run make check without errors. Bottom line, it appears that R_NaReal was not being set properly. It would take the value of nan(0x8000000000000) instead of nan(0x80000000007a2). This is set in R_NaReal = R_ValueOfNA(). The present version in arithmetic.c is: 117 static double R_ValueOfNA(void) 118 { 119 ieee_double x; 120 x.word[hw] = 0x7ff00000; 121 x.word[lw] = 1954; 122 return x.value; 123 } The change is in line 119 to: volatile ieee_double x; This has resolved the proble...