195934c3aSSiva Chandra //===-- Implementation of fma function ------------------------------------===// 295934c3aSSiva Chandra // 395934c3aSSiva Chandra // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 495934c3aSSiva Chandra // See https://llvm.org/LICENSE.txt for license information. 595934c3aSSiva Chandra // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 695934c3aSSiva Chandra // 795934c3aSSiva Chandra //===----------------------------------------------------------------------===// 895934c3aSSiva Chandra 995934c3aSSiva Chandra #include "src/math/fma.h" 1095934c3aSSiva Chandra #include "src/__support/common.h" 1195934c3aSSiva Chandra 12*c120edc7SMichael Jones #include "src/__support/FPUtil/FMA.h" 1395934c3aSSiva Chandra 1495934c3aSSiva Chandra namespace __llvm_libc { 1595934c3aSSiva Chandra 1695934c3aSSiva Chandra LLVM_LIBC_FUNCTION(double, fma, (double x, double y, double z)) { 1795934c3aSSiva Chandra return fputil::fma(x, y, z); 1895934c3aSSiva Chandra } 1995934c3aSSiva Chandra 2095934c3aSSiva Chandra } // namespace __llvm_libc 21