math-neon icon indicating copy to clipboard operation
math-neon copied to clipboard

asinf_c() does not seem to be giving correct results

Open GoogleCodeExporter opened this issue 10 years ago • 1 comments

What steps will reproduce the problem?
1. Call asinf_c(x) 
2. Call system asinf(x) with same x
3. Compare the two results

What is the expected output? What do you see instead?
When x=-0.9193184972, the system call returns 0.20978982746601104736 and 
asinf_c() returns 0.48538914322853088379

What version of the product are you using? On what operating system?
Trunk version on iPhone simulator.

Please provide any additional information below.

Thanks,
Mike


Original issue reported on code.google.com by [email protected] on 4 Nov 2010 at 2:06

GoogleCodeExporter avatar Apr 20 '15 04:04 GoogleCodeExporter

Sorry, programmer error. ( I had a rand() in a macro expansion that was feeding 
asinf() and asinf_c() different values. ) Please disregard the above post.

Original comment by [email protected] on 4 Nov 2010 at 3:08

GoogleCodeExporter avatar Apr 20 '15 04:04 GoogleCodeExporter