MeshLib C++ Docs
Loading...
Searching...
No Matches
MRHighPrecision.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include "MRFastInt128.h"
5#include <MRPch/MRBindingMacros.h>
6
7#if defined(__APPLE__) && defined(__clang__)
8#pragma clang diagnostic push
9#pragma clang diagnostic ignored "-Wdeprecated-declarations"
10#endif
11
12#include <boost/multiprecision/cpp_int.hpp>
13
14#if defined(__APPLE__) && defined(__clang__)
15#pragma clang diagnostic pop
16#endif
17
18namespace MR
19{
20
24
25using Int128 = boost::multiprecision::int128_t;
26using Int256 = boost::multiprecision::int256_t;
27
30
31// no bindings since no operator << and no sqrt for FastInt128
32#if !defined MR_PARSING_FOR_ANY_BINDINGS && !defined MR_COMPILING_ANY_BINDINGS
35#endif
36
39
40
42
43} // namespace MR
boost::multiprecision::int256_t Int256
Definition MRHighPrecision.h:26
boost::multiprecision::int128_t Int128
Definition MRHighPrecision.h:25
Definition MRCameraOrientationPlugin.h:8
Definition MRVector2.h:28
Definition MRMesh/MRVector3.h:29