Path: blob/main/contrib/llvm-project/libc/src/__support/number_pair.h
213766 views
//===-- Utilities for pairs of numbers. -------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLVM_LIBC_SRC___SUPPORT_NUMBER_PAIR_H9#define LLVM_LIBC_SRC___SUPPORT_NUMBER_PAIR_H1011#include "CPP/type_traits.h"12#include "src/__support/macros/config.h"1314#include <stddef.h>1516namespace LIBC_NAMESPACE_DECL {1718template <typename T> struct NumberPair {19T lo = T(0);20T hi = T(0);21};2223} // namespace LIBC_NAMESPACE_DECL2425#endif // LLVM_LIBC_SRC___SUPPORT_NUMBER_PAIR_H262728