Consider fate of Decimal

A discussion related to this issue: Consider fate of `Decimal` · Issue #43 · apple/swift-foundation · GitHub

1 Like

Short summary of discussion so far:

  • We should move to IEEE Decimal support.
  • It would be nice to know if the number was being accurately represented or if it had been rounded.
1 Like

Also, I'd like to see ExpressibleByDecimalLiteral because that is actually what is being written in code.


My gut says that it is probably important to have both for posterity, but I'm no expert on how often each representation is used.

It's not atm, but the issue on the Foundation repo referenced above implies that some type will be.