summaryrefslogtreecommitdiff
path: root/utests/builtin_pow.cpp
Commit message (Collapse)AuthorAgeFilesLines
* do not use const pointerGuo Yejun2016-07-201-1/+6
| | | | | Signed-off-by: Guo Yejun <yejun.guo@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
* Prepend std namespace to isnan and isinf calls.Sean Lynch2016-04-081-6/+6
| | | | | Signed-off-by: Sean Lynch <seanl@literati.org> Reviewed-by: Pan Xiuli <xiuli.pan@intel.com>
* correct ULP value in utestsMeng Mengmeng2015-07-151-4/+2
| | | | Set a global function in utests to get the right ULP value.
* utest_pow: don't fail on declared lack of denormals.Rebecca N. Palmer2015-04-291-2/+8
| | | | | | | | | 0.01**20.5 is denormal; at least Ivy Bridge does not support denormals and hence returns 0. As this is allowed by the OpenCL standard, it shouldn't fail the test. Signed-off-by: Rebecca Palmer <rebecca_palmer@zoho.com> Reviewed-by: "Song, Ruiling" <ruiling.song@intel.com>
* utests: make utests maths ULP values consistent with specificationMeng Mengmeng2014-12-021-1/+1
| | | | | Signed-off-by: Meng Mengmeng <mengmeng.meng@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
* utests: fix a typo in test cases.Zhigang Gong2014-11-251-1/+1
| | | | | | | | due to a stray . at utests/builtin_pow.cpp:79:112. Reported by "Rebecca N. Palmer" <rebecca_palmer@zoho.com>. Signed-off-by: Zhigang Gong <zhigang.gong@intel.com> Reviewed-by: "Song, Ruiling" <ruiling.song@intel.com>
* utests: fix bugs in builtin_pow().Rebecca Palmer2014-11-061-5/+11
| | | | | | | | | | | | | This patch is based on Rebecca's patch at: https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=Fix-pow-erf-tgamma.patch;att=3;bug=768090. And fixed another bug which we should not use an absolute error checking. We should use ULP and considering the strict conformance or non strict conformance state. Signed-off-by: Zhigang Gong <zhigang.gong@intel.com> Signed-off-by: Rebecca Palmer <rebecca_palmer@zoho.com> Reviewed-by: "Song, Ruiling" <ruiling.song@intel.com>
* utest: Add test case for built-in function pow.Yi Sun2013-10-291-0/+92
Signed-off-by: Yi Sun <yi.sun@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>