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
32#if !defined MR_PARSING_FOR_ANY_BINDINGS && !defined MR_COMPILING_ANY_BINDINGS
35#endif
36
39
40
42
43}
Vector2< Int128 > Vector2i128
Definition MRHighPrecision.h:28
Vector3< Int256 > Vector2i256
Definition MRHighPrecision.h:37
boost::multiprecision::int256_t Int256
Definition MRHighPrecision.h:26
Vector3< Int256 > Vector3i256
Definition MRHighPrecision.h:38
Vector3< Int128 > Vector3i128
Definition MRHighPrecision.h:29
Vector2< FastInt128 > Vector2i128fast
no bindings since no operator << and no sqrt for FastInt128
Definition MRHighPrecision.h:33
Vector3< FastInt128 > Vector3i128fast
Definition MRHighPrecision.h:34
boost::multiprecision::int128_t Int128
Definition MRHighPrecision.h:25
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRVector2.h:29
Definition MRVector3.h:33