103dc366eSTom Stellard /* 203dc366eSTom Stellard * Copyright (c) 2014, 2015 Advanced Micro Devices, Inc. 303dc366eSTom Stellard * 403dc366eSTom Stellard * Permission is hereby granted, free of charge, to any person obtaining a copy 503dc366eSTom Stellard * of this software and associated documentation files (the "Software"), to deal 603dc366eSTom Stellard * in the Software without restriction, including without limitation the rights 703dc366eSTom Stellard * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 803dc366eSTom Stellard * copies of the Software, and to permit persons to whom the Software is 903dc366eSTom Stellard * furnished to do so, subject to the following conditions: 1003dc366eSTom Stellard * 1103dc366eSTom Stellard * The above copyright notice and this permission notice shall be included in 1203dc366eSTom Stellard * all copies or substantial portions of the Software. 1303dc366eSTom Stellard * 1403dc366eSTom Stellard * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1503dc366eSTom Stellard * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 1603dc366eSTom Stellard * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 1703dc366eSTom Stellard * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 1803dc366eSTom Stellard * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 1903dc366eSTom Stellard * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 2003dc366eSTom Stellard * THE SOFTWARE. 2103dc366eSTom Stellard */ 2203dc366eSTom Stellard 23*a4df39bcSJan Vesely #define __CLC_BODY <clc/math/unary_decl.inc> 24*a4df39bcSJan Vesely #define __CLC_FUNCTION atanpi 25*a4df39bcSJan Vesely 2603dc366eSTom Stellard #include <clc/math/gentype.inc> 27*a4df39bcSJan Vesely 28*a4df39bcSJan Vesely #undef __CLC_BODY 29*a4df39bcSJan Vesely #undef __CLC_FUNCTION 30