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