summaryrefslogtreecommitdiffstats
path: root/libclc/generic/include/clc/math/sqrt.h
Commit message (Collapse)AuthorAgeFilesLines
* sqrt: Use unary_decl instead of custom inc fileJan Vesely2017-11-021-1/+5
| | | | | | Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-By: Aaron Watry <awatry@gmail.com> llvm-svn: 317257
* Fix implementation of sqrt v2Tom Stellard2015-07-101-6/+3
| | | | | | | | | | | 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
* Add __CLC_ prefix to all macro definitions in headersTom Stellard2013-07-081-2/+2
| | | | | | | | | | | libclc was defining and undefing GENTYPE and several other macros with common names in its header files. This was preventing applications from defining macros with identical names as command line arguments to the compiler, because the definitions in the header files were masking the macros defined as compiler arguements. Reviewed-by: Aaron Watry <awatry@gmail.com> llvm-svn: 185838
* Initial commit.Peter Collingbourne2012-01-081-0/+6
llvm-svn: 147756
OpenPOWER on IntegriCloud