Refine some test for math function
authorYi Sun <yi.sun@intel.com>
Fri, 30 May 2014 03:22:32 +0000 (11:22 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Fri, 30 May 2014 06:59:46 +0000 (14:59 +0800)
commit1dd2362c1c323d9aca9c93009888992cac9cb224
treef8d6f15e85c19e405a14f0be7fe20cbbf3fe8b4a
parent1af480108c48e58f04126d195b413ab4c6552594
Refine some test for math function

1. nextafter: we originally use nextafter as cpu execution result, It's return value is double, so changed it to nextafterf.
2. sinpi: add judgement to reduce input data limitation from [-2pi,2pi] to [-pi,pi]
3. cospi: define cospi function.
4. tanpi: define tanpi function by using sinpi/cospi.

Signed-off-by: Yi Sun <yi.sun@intel.com>
Signed-off-by: YangweiX Shui <yangweix.shui@intel.com>
utests/utest_math_gen.py