Skip to content

Instantly share code, notes, and snippets.

@actboy168
Created April 7, 2024 16:36
Show Gist options
  • Save actboy168/ed8d316400f409670f722c1d22a67071 to your computer and use it in GitHub Desktop.
Save actboy168/ed8d316400f409670f722c1d22a67071 to your computer and use it in GitHub Desktop.
int128.h
#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