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