1 //===-- lib/addtf3.c - Quad-precision addition --------------------*- C -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file implements quad-precision soft-float addition with the IEEE-754
10 // default rounding (to nearest, ties to even).
12 //===----------------------------------------------------------------------===//
14 #define QUAD_PRECISION
17 #if defined(CRT_HAS_128BIT) && defined(CRT_LDBL_128BIT)
18 #include "fp_add_impl.inc"
20 COMPILER_RT_ABI long double __addtf3(long double a, long double b) {
21 return __addXf3__(a, b);