Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document typedefs #862

Merged
merged 1 commit into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions doc/decimal/decimal128.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ namespace decimal {

class decimal128 {

public:
using significand_type = detail::uint128;
using exponent_type = std::uint32_t;
using biased_exponent_type = std::int32_t;

// Paragraph numbers are from ISO/IEC DTR 24733

// 3.2.4.1 construct/copy/destroy
Expand Down
5 changes: 5 additions & 0 deletions doc/decimal/decimal128_fast.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ namespace decimal {

class decimal128_fast {

public:
using significand_type = detail::uint128;
using exponent_type = std::uint_fast32_t;
using biased_exponent_type = std::int32_t;

// Paragraph numbers are from ISO/IEC DTR 24733

// 3.2.4.1 construct/copy/destroy
Expand Down
5 changes: 5 additions & 0 deletions doc/decimal/decimal32.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ namespace decimal {

class decimal32 {

public:
using significand_type = std::uint32_t;
using exponent_type = std::uint32_t;
using biased_exponent_type = std::int32_t;

// Paragraph numbers are from ISO/IEC DTR 24733

// 3.2.2.1 construct/copy/destroy
Expand Down
5 changes: 5 additions & 0 deletions doc/decimal/decimal32_fast.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ namespace decimal {

class decimal32_fast {

public:
using significand_type = std::uint_fast32_t;
using exponent_type = std::uint_fast8_t;
using biased_exponent_type = std::int32_t;

// Paragraph numbers are from ISO/IEC DTR 24733

// 3.2.2.1 construct/copy/destroy
Expand Down
5 changes: 5 additions & 0 deletions doc/decimal/decimal64.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ namespace decimal {

class decimal64 {

public:
using significand_type = std::uint64_t;
using exponent_type = std::uint32_t;
using biased_exponent_type = std::int32_t;

// Paragraph numbers are from ISO/IEC DTR 24733

// 3.2.3.1 construct/copy/destroy
Expand Down
5 changes: 5 additions & 0 deletions doc/decimal/decimal64_fast.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ namespace decimal {

class decimal64_fast {

public:
using significand_type = std::uint_fast64_t;
using exponent_type = std::uint_fast16_t;
using biased_exponent_type = std::int32_t;

// Paragraph numbers are from ISO/IEC DTR 24733

// 3.2.3.1 construct/copy/destroy
Expand Down
Loading