summaryrefslogtreecommitdiff
path: root/utests/builtin_tgamma.cpp
Commit message (Collapse)AuthorAgeFilesLines
* remove "\n" in output message when test is failedGuo Yejun2016-08-031-1/+1
| | | | | | | otherwise, "[FAILED]" and the test name is not in the same line. 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-2/+2
| | | | | 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.
* utests: fix test case builtin_tgamma.Rebecca N. Palmer2015-04-301-3/+16
| | | | | | | | | | Compare with tgamma instead of tgammaf for better accuracy. Include negative inputs, and handle the resulting denormals. Print maximum error found. Signed-off-by: Rebecca Palmer <rebecca_palmer@zoho.com> Reviewed-by: "Song, Ruiling" <ruiling.song@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.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 bugs in builtin_tgamma().Rebecca Palmer2014-11-061-2/+7
| | | | | | | | | | | | | 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>
* add built-in function "tgamma"Homer Hsing2013-08-301-0/+42
also include a test case Signed-off-by: Homer Hsing <homer.xing@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>