API Reference

Namespaces

Namespace Description

beman::big_int

Contains all components of the library except literals and polymorphic memory resource support

beman::big_int::literals

User-defined literals

beman::big_int::pmr

Types with std::pmr support

Types

Type Description

uint_multiprecision_t

The limb type of a big_int

basic_big_int

The template of a big integer type. Analogous to std::basic_string

big_int

A big integer type using default small value optimizations and allocator

Functions

<charconv>

Function Description

to_chars

Writes the textual representation of a basic_big_int into a character buffer

from_chars

Parses a basic_big_int from its textual representation

String conversions

Function Description

to_string

Returns a std::string holding the textual representation of a basic_big_int

to_wstring

Returns a std::wstring holding the textual representation of a basic_big_int

Numeric functions

Function Description

abs

Returns the absolute value (magnitude) of a basic_big_int