mirror of
https://github.com/corda/corda.git
synced 2024-12-28 16:58:55 +00:00
f978eab8d1
git-subtree-dir: sgx-jvm/linux-sgx git-subtree-mainline:d52accb52c
git-subtree-split:2df43c54f3
26 lines
804 B
C
26 lines
804 B
C
//===-- lib/addtf3.c - Quad-precision addition --------------------*- C -*-===//
|
|
//
|
|
// 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.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file implements quad-precision soft-float addition with the IEEE-754
|
|
// default rounding (to nearest, ties to even).
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#define QUAD_PRECISION
|
|
#include "fp_lib.h"
|
|
|
|
#if defined(CRT_HAS_128BIT) && defined(CRT_LDBL_128BIT)
|
|
#include "fp_add_impl.inc"
|
|
|
|
COMPILER_RT_ABI long double __addtf3(long double a, long double b){
|
|
return __addXf3__(a, b);
|
|
}
|
|
|
|
#endif
|