Created
April 7, 2024 16:36
-
-
Save actboy168/ed8d316400f409670f722c1d22a67071 to your computer and use it in GitHub Desktop.
int128.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#if defined(_MSC_VER) && !defined(__clang__) | |
#include <__msvc_int128.hpp> | |
namespace bee { | |
using int128_t = std::_Signed128; | |
using uint128_t = std::_Unsigned128; | |
} | |
#else | |
namespace bee { | |
using int128_t = __int128; | |
using uint128_t = unsigned __int128; | |
} | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment