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