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