Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:44:30

0001 //===-- llvm/Support/float128.h - Compiler abstraction support --*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLVM_FLOAT128
0010 #define LLVM_FLOAT128
0011 
0012 namespace llvm {
0013 
0014 #if defined(__clang__) && defined(__FLOAT128__) &&                             \
0015     defined(__SIZEOF_INT128__) && !defined(__LONG_DOUBLE_IBM128__)
0016 #define HAS_IEE754_FLOAT128
0017 typedef __float128 float128;
0018 #elif defined(__FLOAT128__) && defined(__SIZEOF_INT128__) &&                   \
0019     !defined(__LONG_DOUBLE_IBM128__) &&                                        \
0020     (defined(__GNUC__) || defined(__GNUG__))
0021 #define HAS_IEE754_FLOAT128
0022 typedef _Float128 float128;
0023 #endif
0024 
0025 } // namespace llvm
0026 #endif // LLVM_FLOAT128