Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Namespaces | Classes | Typedefs | Variables
jau::mp Namespace Reference

big_int_t (this file) (c) 2024 Gothel Software e.K. More...

Namespaces

namespace  impl
 
namespace  ops
 

Classes

class  BigInt
 Arbitrary precision integer type. More...
 

Typedefs

typedef jau::uint_bytes< impl::best_word_byte_size() *2 >::type mp_dword_t
 
typedef jau::uint_bytes< impl::best_word_byte_size()>::type mp_word_t
 

Variables

constexpr const bool has_mp_dword = is_builtin_int128_available()
 
constexpr const size_t mp_word_bits = impl::best_word_byte_size() * CHAR_BIT
 
constexpr const mp_word_t mp_word_max = ~static_cast<mp_word_t>(0)
 

Detailed Description

big_int_t (this file) (c) 2024 Gothel Software e.K.

Includes code from: Botan BigInt (bigint.h, ..) (C) 1999-2011,2012,2014,2019 Jack Lloyd 2007 FlexSecure

Includes code from: Botan Division Algorithms (divide.h) (C) 1999-2007,2012,2018,2021 Jack Lloyd

jaulib including this code is released under the MIT License (see COPYING) Botan itself is released under the Simplified BSD License (see COPYING)

Typedef Documentation

◆ mp_word_t

Definition at line 42 of file big_int_ops.hpp.

◆ mp_dword_t

Definition at line 43 of file big_int_ops.hpp.

Variable Documentation

◆ mp_word_bits

constexpr const size_t jau::mp::mp_word_bits = impl::best_word_byte_size() * CHAR_BIT
constexpr

Definition at line 41 of file big_int_ops.hpp.

◆ has_mp_dword

constexpr const bool jau::mp::has_mp_dword = is_builtin_int128_available()
constexpr

Definition at line 44 of file big_int_ops.hpp.

◆ mp_word_max

constexpr const mp_word_t jau::mp::mp_word_max = ~static_cast<mp_word_t>(0)
constexpr

Definition at line 60 of file big_int_ops.hpp.