MeshLib C++ Docs
Loading...
Searching...
No Matches
MRFastInt128.h
Go to the documentation of this file.
1#pragma once
2
3#if __has_include(<__msvc_int128.hpp>)
4 #include <__msvc_int128.hpp>
5namespace MR
6{
7 // this type is much faster than boost::multiprecision::checked_int128_t
8 // but lacks conversion in double, sqrt-function and stream input/output
9 using FastInt128 = std::_Signed128;
10}
11#else
12namespace MR
13{
14 using FastInt128 = __int128_t;
15}
16#endif
Definition MRCameraOrientationPlugin.h:8
__int128_t FastInt128
Definition MRFastInt128.h:14