24 lines · c
1//===-- 128-bit signed and unsigned int types -------------------*- C++ -*-===//2//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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLVM_LIBC_SRC___SUPPORT_UINT128_H10#define LLVM_LIBC_SRC___SUPPORT_UINT128_H11 12#include "big_int.h"13#include "src/__support/macros/properties/types.h" // LIBC_TYPES_HAS_INT12814 15#ifdef LIBC_TYPES_HAS_INT12816using UInt128 = __uint128_t;17using Int128 = __int128_t;18#else19using UInt128 = LIBC_NAMESPACE::UInt<128>;20using Int128 = LIBC_NAMESPACE::Int<128>;21#endif // LIBC_TYPES_HAS_INT12822 23#endif // LLVM_LIBC_SRC___SUPPORT_UINT128_H24