Numeric.h#
Fully qualified name: carb/Numeric.h
File members: carb/Numeric.h
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
//
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
// property and proprietary rights in and to this material, related
// documentation and any modifications thereto. Any use, reproduction,
// disclosure or distribution of this material and related documentation
// without an express license agreement from NVIDIA CORPORATION or
// its affiliates is strictly prohibited.
#pragma once
#if defined(_MSC_VER)
// cinttypes is included only so that MSVC doesn't complain about __STDC_WANT_SECURE_LIB__ not being defined.
# include <cinttypes>
#endif
#include <climits>
#include <cstdint>
#define CARB_UINT16_MAX UINT16_MAX
#define CARB_UINT32_MAX UINT32_MAX
#define CARB_UINT64_MAX UINT64_MAX
#define CARB_ULLONG_MAX ULLONG_MAX
#define CARB_USHRT_MAX USHRT_MAX
#define CARB_FLOAT_MAX 3.402823466e+38F