diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2014-07-23 15:16:13 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2014-07-23 15:16:13 +0000 |
commit | 47882923c7b48c00d6c0ea9960b5457e957093c4 (patch) | |
tree | 1e03d914a5f8443724715f54ce22a5ca5d899d3c /libclc/generic/include/clc/math/atan.h | |
parent | 17020f96c79a0b28275681e16569c81dc369d77b (diff) | |
download | bcm5719-llvm-47882923c7b48c00d6c0ea9960b5457e957093c4.tar.gz bcm5719-llvm-47882923c7b48c00d6c0ea9960b5457e957093c4.zip |
Implement atan builtin
llvm-svn: 213759
Diffstat (limited to 'libclc/generic/include/clc/math/atan.h')
-rw-r--r-- | libclc/generic/include/clc/math/atan.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libclc/generic/include/clc/math/atan.h b/libclc/generic/include/clc/math/atan.h new file mode 100644 index 00000000000..d9697194ee8 --- /dev/null +++ b/libclc/generic/include/clc/math/atan.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2014 Advanced Micro Devices, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + +#define __CLC_BODY <clc/math/atan.inc> +#include <clc/math/gentype.inc> |