xref: /llvm-project/libclc/generic/include/clc/math/atanh.h (revision 1bd2ac257ab8ccbb4417e9b210fba9bd5c1fee63)
1da2969fcSTom Stellard /*
2da2969fcSTom Stellard  * Copyright (c) 2014, 2015 Advanced Micro Devices, Inc.
3da2969fcSTom Stellard  *
4da2969fcSTom Stellard  * Permission is hereby granted, free of charge, to any person obtaining a copy
5da2969fcSTom Stellard  * of this software and associated documentation files (the "Software"), to deal
6da2969fcSTom Stellard  * in the Software without restriction, including without limitation the rights
7da2969fcSTom Stellard  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8da2969fcSTom Stellard  * copies of the Software, and to permit persons to whom the Software is
9da2969fcSTom Stellard  * furnished to do so, subject to the following conditions:
10da2969fcSTom Stellard  *
11da2969fcSTom Stellard  * The above copyright notice and this permission notice shall be included in
12da2969fcSTom Stellard  * all copies or substantial portions of the Software.
13da2969fcSTom Stellard  *
14da2969fcSTom Stellard  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15da2969fcSTom Stellard  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16da2969fcSTom Stellard  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17da2969fcSTom Stellard  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18da2969fcSTom Stellard  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19da2969fcSTom Stellard  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20da2969fcSTom Stellard  * THE SOFTWARE.
21da2969fcSTom Stellard  */
22da2969fcSTom Stellard 
23*1bd2ac25SJan Vesely #define __CLC_BODY <clc/math/unary_decl.inc>
24*1bd2ac25SJan Vesely #define __CLC_FUNCTION atanh
25*1bd2ac25SJan Vesely 
26da2969fcSTom Stellard #include <clc/math/gentype.inc>
27*1bd2ac25SJan Vesely 
28*1bd2ac25SJan Vesely #undef __CLC_BODY
29*1bd2ac25SJan Vesely #undef __CLC_FUNCTION
30