Boost.Decimal
Home
Download

Boost.Decimal

    • Boost.Decimal: IEEE 754 Decimal Floating Point Numbers
    • Basic Usage
    • Examples
      • Basic Construction
      • Basic Arithmetic
      • Conversions
        • Integer Conversions
        • Binary Floating Point Conversions
      • Promotion and Mixed Decimal Arithmetic
      • <charconv>
      • Generic Programming
      • Literals and Constants
      • Formatting
        • {fmt}
        • <format>
        • <print>
      • Read and Write to File
    • Financial Examples
      • Parsing Pricing Data from File
      • Boost.Math Integration
    • Debugger Support
    • API Reference
      • Types
      • Structs
      • Enums
      • Constants
      • Macros
    • Directory Structure
    • IEEE 754 Decimal Types
      • decimal32_t
      • decimal64_t
      • decimal128_t
    • Non-IEEE 754 Decimal Types
      • decimal_fast32_t
      • decimal_fast64_t
      • decimal_fast128_t
    • Conversion from Binary Floating Point
    • Cohorts
    • Bit Conversions
    • Literals Support
    • Numeric Constants
    • <cmath> Support
      • Basic Operations
      • Exponential Functions
      • Power Functions
      • Trigonometric Functions
      • Hyperbolic Functions
      • Error and Gamma Functions
      • Nearest Integer Floating Point
      • Floating Point Manipulation
      • Classification and Comparison
      • Special Functions
      • Non-Standard Functions
    • <cstdlib> Support (strtod)
    • <charconv> Support (to_/from_chars)
    • <format> and {fmt} Support
    • <cfenv> Support (Rounding Modes)
    • <cfloat> Support (Eval Modes)
    • <cstdio> Support (printf)
    • <functional> Support (hash)
    • <limits> Support (numeric_limits)
    • <string> Support (to_string)
    • Configuration Macros
      • User Configuration
      • Automatic Configuration
    • Benchmarks
      • x64 Linux
      • x64 Windows
      • ARM64 macOS
    • Design Decisions and Standards Deviations
    • References
    • Copyright and License
Boost.Decimal
  • Boost.Decimal
  • Boost.Decimal
  • API Reference
← Previous Next →

API Reference

This section is a complete cross-reference to all the types, structures, enums, constants and macros that are provided in this library.

Types

IEEE 754 Compliant

Non-IEEE 754 Compliant

decimal32_t

decimal_fast32_t

decimal64_t

decimal_fast64_t

decima128_t

decimal_fast128_t

Structures

to_chars_result

from_chars_result

Enums

chars_format

rounding_mode

Constants

limits

numbers

Macros

User Configuration

Automatic Configuration

BOOST_DECIMAL_DISABLE_CASSERT

BOOST_DECIMAL_CXX20_CONSTEXPR

BOOST_DECIMAL_DISABLE_IOSTREAM

BOOST_DECIMAL_NO_CONSTEVAL_DETECTION

BOOST_DECIMAL_DISABLE_CLIB

BOOST_DECIMAL_HAS_STD_CHARCONV

BOOST_DECIMAL_DISABLE_EXCEPTIONS

BOOST_DECIMAL_HAS_STD_STRING_VIEW

BOOST_DECIMAL_ALLOW_IMPLICIT_INTEGER_CONVERSIONS

BOOST_DECIMAL_ALLOW_IMPLICIT_FLOAT_CONVERSIONS

BOOST_DECIMAL_ALLOW_IMPLICIT_CONVERSIONS

BOOST_DECIMAL_FAST_MATH

BOOST_DECIMAL_DEC_EVAL_METHOD

← Previous Next →