|
BigDigits C++ OOP
1.0.1
|
The C++ OOP interface to the BigDigits library. More...
Classes | |
| class | dibigd::BigDigit |
| Class to represent and operate on a BigDigits number. More... | |
| class | dibigd::Bvec |
| Utilities for a vector of bytes. More... | |
Typedefs | |
| typedef int(* | BD_RANDFUNC) (unsigned char *buf, size_t nbytes, const unsigned char *seed, size_t seedlen) |
| TYPEDEF for user-defined random byte generator function. | |
| typedef uint32_t | bdigit_t |
| A synonym for a single digit. | |
Functions | |
| std::string | dibigd::compile_time () |
| Return time of compilation as a string. More... | |
| BigDigit | dibigd::from_octets (const std::vector< unsigned char > bv) |
| Convert a byte array to an equivalent BigDigit. More... | |
| BigDigit | dibigd::from_str (std::string s) |
| Convert the initial characters of the string s to an equivalent BigDigit. More... | |
| int | dibigd::version_core () |
| Return BigDigits core version number. More... | |
| std::string | dibigd::version_interface () |
| Return version number of this C++ interface. More... | |
The C++ OOP interface to the BigDigits library.
| std::string dibigd::compile_time | ( | ) |
Return time of compilation as a string.
Apr 11 2026 17:55:03 | BigDigit dibigd::from_octets | ( | const std::vector< unsigned char > | bv | ) |
Convert a byte array to an equivalent BigDigit.
| bv | An array of bytes. |
| BigDigit dibigd::from_str | ( | std::string | s | ) |
Convert the initial characters of the string s to an equivalent BigDigit.
| s | A string of digits. A leading 0x or 0X indicates a hexadecimal (base 16) integer with valid characters [0-9a-fA-F], a leading 0b or 0B indicates a binary (base 2) integer with valid characters [01], otherwise it indicates a decimal (base 10) integer with valid characters [0-9]. |
| std::invalid_argument | exception if an invalid character is found. |
| int dibigd::version_core | ( | ) |
Return BigDigits core version number.
major*1000 + minor*100 + release*10 + PP_OPTIONS. For example 2710. | std::string dibigd::version_interface | ( | ) |
Return version number of this C++ interface.
"1.0.2"