199f5e963Slntue //===-- Implementation of modff128 function -------------------------------===// 299f5e963Slntue // 399f5e963Slntue // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 499f5e963Slntue // See https://llvm.org/LICENSE.txt for license information. 599f5e963Slntue // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 699f5e963Slntue // 799f5e963Slntue //===----------------------------------------------------------------------===// 899f5e963Slntue 999f5e963Slntue #include "src/math/modff128.h" 1099f5e963Slntue #include "src/__support/FPUtil/ManipulationFunctions.h" 1199f5e963Slntue #include "src/__support/common.h" 12*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h" 1399f5e963Slntue 14*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL { 1599f5e963Slntue 1699f5e963Slntue LLVM_LIBC_FUNCTION(float128, modff128, (float128 x, float128 *iptr)) { 1799f5e963Slntue return fputil::modf(x, *iptr); 1899f5e963Slntue } 1999f5e963Slntue 20*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL 21