Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Classes | Namespaces | Functions
big_int.hpp File Reference
#include <cstdint>
#include <cassert>
#include <jau/mp/big_int_ops.hpp>
#include <jau/byte_util.hpp>
#include <jau/string_util.hpp>
Include dependency graph for big_int.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  jau::mp::BigInt
 Arbitrary precision integer type. More...
 

Namespaces

namespace  jau
 __pack(...): Produces MSVC, clang and gcc compatible lead-in and -out macros.
 
namespace  jau::mp
 big_int_t (this file) (c) 2024 Gothel Software e.K.
 
namespace  std
 STL namespace.
 

Functions

mp::BigInt jau::abs (mp::BigInt x) noexcept
 
const mp::BigInt & jau::clamp (const mp::BigInt &x, const mp::BigInt &min_val, const mp::BigInt &max_val) noexcept
 
mp::BigInt & jau::clamp (mp::BigInt &x, mp::BigInt &min_val, mp::BigInt &max_val) noexcept
 
mp::BigInt jau::gcd (const mp::BigInt &a, const mp::BigInt &b) noexcept
 
const mp::BigInt & jau::max (const mp::BigInt &x, const mp::BigInt &y) noexcept
 
mp::BigInt & jau::max (mp::BigInt &x, mp::BigInt &y) noexcept
 
const mp::BigInt & jau::min (const mp::BigInt &x, const mp::BigInt &y) noexcept
 
mp::BigInt & jau::min (mp::BigInt &x, mp::BigInt &y) noexcept
 
std::ostream & std::operator<< (std::ostream &out, const jau::mp::BigInt &v)
 
mp::BigInt jau::pow (mp::BigInt b, mp::BigInt e)