Fixed wrong test case in testother: mathfunctionCall_atan2().

This commit is contained in:
orbitcowboy 2015-07-16 10:55:58 +02:00
parent 1d910bc3bc
commit 48fed95942
1 changed files with 33 additions and 33 deletions

View File

@ -1661,39 +1661,39 @@ private:
// atan2
check("void foo()\n"
"{\n"
" std::cout << atan2(1,1) << std::endl;\n"
" std::cout << atan2(-1,-1) << std::endl;\n"
" std::cout << atan2(0.1,1) << std::endl;\n"
" std::cout << atan2(0.0001,100) << std::endl;\n"
" std::cout << atan2(0.01m-1) << std::endl;\n"
" std::cout << atan2(1.0E-1,-3) << std::endl;\n"
" std::cout << atan2(-1.0E-1,+2) << std::endl;\n"
" std::cout << atan2(+1.0E-1,0) << std::endl;\n"
" std::cout << atan2(0.1E-1,3) << std::endl;\n"
" std::cout << atan2(+0.1E-1,1) << std::endl;\n"
" std::cout << atan2(-0.1E-1,8) << std::endl;\n"
" std::cout << atan2f(1,1) << std::endl;\n"
" std::cout << atan2f(-1,-1) << std::endl;\n"
" std::cout << atan2f(0.1,1) << std::endl;\n"
" std::cout << atan2f(0.0001,100) << std::endl;\n"
" std::cout << atan2f(0.01m-1) << std::endl;\n"
" std::cout << atan2f(1.0E-1,-3) << std::endl;\n"
" std::cout << atan2f(-1.0E-1,+2) << std::endl;\n"
" std::cout << atan2f(+1.0E-1,0) << std::endl;\n"
" std::cout << atan2f(0.1E-1,3) << std::endl;\n"
" std::cout << atan2f(+0.1E-1,1) << std::endl;\n"
" std::cout << atan2f(-0.1E-1,8) << std::endl;\n"
" std::cout << atan2l(1,1) << std::endl;\n"
" std::cout << atan2l(-1,-1) << std::endl;\n"
" std::cout << atan2l(0.1,1) << std::endl;\n"
" std::cout << atan2l(0.0001,100) << std::endl;\n"
" std::cout << atan2l(0.01m-1) << std::endl;\n"
" std::cout << atan2l(1.0E-1,-3) << std::endl;\n"
" std::cout << atan2l(-1.0E-1,+2) << std::endl;\n"
" std::cout << atan2l(+1.0E-1,0) << std::endl;\n"
" std::cout << atan2l(0.1E-1,3) << std::endl;\n"
" std::cout << atan2l(+0.1E-1,1) << std::endl;\n"
" std::cout << atan2l(-0.1E-1,8) << std::endl;\n"
" std::cout << atan2(1,1) ;\n"
" std::cout << atan2(-1,-1) ;\n"
" std::cout << atan2(0.1,1) ;\n"
" std::cout << atan2(0.0001,100) ;\n"
" std::cout << atan2(0.0,1e-1) ;\n"
" std::cout << atan2(1.0E-1,-3) ;\n"
" std::cout << atan2(-1.0E-1,+2) ;\n"
" std::cout << atan2(+1.0E-1,0) ;\n"
" std::cout << atan2(0.1E-1,3) ;\n"
" std::cout << atan2(+0.1E-1,1) ;\n"
" std::cout << atan2(-0.1E-1,8) ;\n"
" std::cout << atan2f(1,1) ;\n"
" std::cout << atan2f(-1,-1) ;\n"
" std::cout << atan2f(0.1,1) ;\n"
" std::cout << atan2f(0.0001,100) ;\n"
" std::cout << atan2f(0.0,1e-1) ;\n"
" std::cout << atan2f(1.0E-1,-3) ;\n"
" std::cout << atan2f(-1.0E-1,+2) ;\n"
" std::cout << atan2f(+1.0E-1,0) ;\n"
" std::cout << atan2f(0.1E-1,3) ;\n"
" std::cout << atan2f(+0.1E-1,1) ;\n"
" std::cout << atan2f(-0.1E-1,8) ;\n"
" std::cout << atan2l(1,1) ;\n"
" std::cout << atan2l(-1,-1) ;\n"
" std::cout << atan2l(0.1,1) ;\n"
" std::cout << atan2l(0.0001,100) ;\n"
" std::cout << atan2l(0.0,1e-1) ;\n"
" std::cout << atan2l(1.0E-1,-3) ;\n"
" std::cout << atan2l(-1.0E-1,+2) ;\n"
" std::cout << atan2l(+1.0E-1,0) ;\n"
" std::cout << atan2l(0.1E-1,3) ;\n"
" std::cout << atan2l(+0.1E-1,1) ;\n"
" std::cout << atan2l(-0.1E-1,8) ;\n"
"}");
ASSERT_EQUALS("", errout.str());