summaryrefslogtreecommitdiffstats
path: root/libclc/generic/lib/math/clc_sqrt.cl
Commit message (Collapse)AuthorAgeFilesLines
* Move unary_instrinsic.inc to private headers.Jan Vesely2019-03-131-1/+1
| | | | | | Reviewer: Aaron Watry Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 356021
* Move cl_khr_fp64 exntension enablement to gentype include listsJan Vesely2018-03-061-4/+0
| | | | | | | | This will make adding cl_khr_fp16 support easier Reviewed-by: Aaron Watry <awatry@gmail.com> Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 326816
* Fix implementation of sqrt v2Tom Stellard2015-07-101-0/+37
Passing values less than 0 to the llvm.sqrt() intrinsic results in undefined behavior, so we need to check the input and return NaN if is is less than 0. v2: - Fix build failures. llvm-svn: 241906
OpenPOWER on IntegriCloud