xref: /llvm-project/libclc/generic/include/clc/math/atan.h (revision 0942b5e1bf50181f460be45550b206667691aba2)
147882923STom Stellard /*
247882923STom Stellard  * Copyright (c) 2014 Advanced Micro Devices, Inc.
347882923STom Stellard  *
447882923STom Stellard  * Permission is hereby granted, free of charge, to any person obtaining a copy
547882923STom Stellard  * of this software and associated documentation files (the "Software"), to deal
647882923STom Stellard  * in the Software without restriction, including without limitation the rights
747882923STom Stellard  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
847882923STom Stellard  * copies of the Software, and to permit persons to whom the Software is
947882923STom Stellard  * furnished to do so, subject to the following conditions:
1047882923STom Stellard  *
1147882923STom Stellard  * The above copyright notice and this permission notice shall be included in
1247882923STom Stellard  * all copies or substantial portions of the Software.
1347882923STom Stellard  *
1447882923STom Stellard  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1547882923STom Stellard  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1647882923STom Stellard  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1747882923STom Stellard  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1847882923STom Stellard  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1947882923STom Stellard  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2047882923STom Stellard  * THE SOFTWARE.
2147882923STom Stellard  */
2247882923STom Stellard 
23*0942b5e1SJan Vesely #define __CLC_BODY <clc/math/unary_decl.inc>
24*0942b5e1SJan Vesely #define __CLC_FUNCTION atan
25*0942b5e1SJan Vesely 
2647882923STom Stellard #include <clc/math/gentype.inc>
27*0942b5e1SJan Vesely 
28*0942b5e1SJan Vesely #undef __CLC_BODY
29*0942b5e1SJan Vesely #undef __CLC_FUNCTION
30