search for: result_a

Displaying 4 results from an estimated 4 matches for "result_a".

Did you mean: result_r
2012 Jun 14
0
Complex summary of counts of rank positions over multiple dataframes
...rank etc. A resulting dataframe could look like: uniquevars <- c("A","B","C","D","G","J","K") rank1a <- c(2,1,0,0,0,0,0) rank2a <- c(1,2,0,0,0,0,0) rank3a <- c(0,0,1,1,1,0,0) rank4a <- c(0,0,1,1,0,0,1) result_a <- data.frame(uniquevars,rank1a,rank2a,rank3a,rank4a) In addition I would like to have for all populated 'cells' of the result_a-dataframe the sum of the all 'values' from the original dataframes instead of the counts. Like: rank1b <- c(34,24,0,0,0,0,0) rank2b <- c(6,...
2007 Jun 16
2
[LLVMdev] Wrong tan
Hi! <tangens_bug.cc> #include <iostream> #include <cmath> int main() { float a = 0.3; double b = 0.3; float result_a = std::tan( a ); float result_b = std::tan( b ); std::cout << "tan float: " << result_a << std::endl; std::cout << "tan double: " << result_b << std::endl; } <end tangens_bug.cc> Result compiled with g++ 4.1: t...
2007 Jun 16
0
[LLVMdev] Wrong tan
...5. opt + llc + as + llvm-g++ Output: tan float: 0 tan double: 0 ???? In summary: Everything works except linking with llvm-g++! Gonsolo Appendix A: <tan_bug.cc> #include <iostream> #include <cmath> int main() { float a = 0.3; double b = 0.3; float result_a = std::tan( a ); float result_b = std::tan( b ); std::cout << "tan float: " << result_a << std::endl; std::cout << "tan double: " << result_b << std::endl; } </tan_bug.cc> Appendix B: <Makefile> all: tes...
2007 Jun 16
2
[LLVMdev] Wrong tan
On Jun 16, 2007, at 12:35 AM, Duncan Sands wrote: >> Result compiled with llvm-g++ 2.0: >> tan float: -2.18504 >> tan double: 0.309336 > > This may be due to bug 1505. It fails on x86 using x87 floating point, with the inliner not run, because of 1505, yes. Gonsolo, is that your situation? (What happens is, there is a wrapper in the header file for std::tan (float),