Displaying 2 results from an estimated 2 matches for "test_interpreter".
2007 Jun 16
0
[LLVMdev] Wrong tan
...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: test_g++ test_llvm-g++ test_interpreter test_interpreter_opt
test_native_g++ test_native_llvm-g++
.PHONY: c clean test_simple test_interpreter test_interpreter_opt
test_native_g++ test_native_llvm-g++
test_g++: simple_g++
./simple_g++
test_llvm-g++: simple_llvm
./simple_llvm
test_interpreter: emit.bc
lli emit....
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),