freebsd-dev/contrib/compiler-rt/lib/builtins/addtf3.c

26 lines
804 B
C
Raw Normal View History

//===-- lib/addtf3.c - Quad-precision addition --------------------*- C -*-===//
2010-10-21 19:02:02 +00:00
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
2010-10-21 19:02:02 +00:00
//
//===----------------------------------------------------------------------===//
//
// This file implements quad-precision soft-float addition with the IEEE-754
// default rounding (to nearest, ties to even).
2010-10-21 19:02:02 +00:00
//
//===----------------------------------------------------------------------===//
#define QUAD_PRECISION
2010-10-21 19:02:02 +00:00
#include "fp_lib.h"
#if defined(CRT_HAS_128BIT) && defined(CRT_LDBL_128BIT)
#include "fp_add_impl.inc"
2011-06-02 20:02:42 +00:00
COMPILER_RT_ABI long double __addtf3(long double a, long double b){
return __addXf3__(a, b);
2010-10-21 19:02:02 +00:00
}
#endif