unicode-org / icu4x

Solving i18n for client-side and resource-constrained environments.
https://icu4x.unicode.org
Other
1.38k stars 178 forks source link

Proposal for Compact Decimal Types #5835

Open younies opened 3 days ago

younies commented 3 days ago

Description

Instead of having a single compact implementation that uses SignedFixedDecimal, we propose introducing two separate types:

Benefits

sffc commented 2 days ago

How do you envision the nesting?

Should it be:

  1. Compact<Signed<Decimal>>
  2. Signed<Compact<Decimal>>