Improve the accuracy of built-in function asin.
authorYi Sun <yi.sun@intel.com>
Tue, 6 Aug 2013 14:02:49 +0000 (22:02 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 7 Aug 2013 06:50:57 +0000 (14:50 +0800)
commitf162446319a882a32f154e63d46a4ad5af9a9ba4
tree0ff5dd02e1e4887ffc6214661cc4e91b942e6d44
parent13d9e908ae9916550bc5b628990e123deae6a0ab
Improve the accuracy of built-in function asin.

Method: asin(x) = x + (1 * x^3)/(2 * 3) + (1 * 3 * x^5)/(2*4 * 5) + \
(1 * 3 * 5 * x^7)/(2*4*6 * 7) + ...
Iterate this for 30 times.

Signed-off-by: Yi Sun <yi.sun@intel.com>
Reviewed-by: Homer Hsing <homer.xing@intel.com>
backend/src/ocl_stdlib.tmpl.h