Skip to content

Method BigDecimal: 0 digits algorithm #208

Description

@BurdetteLamar

Doc for method BigDecimal says:

  • When arg is a Float and digits is 0, the number
  • of digits is determined by the algorithm of dtoa function
  • written by David M. Gay. That algorithm is based on "How to Print Floating-
  • Point Numbers Accurately" by Guy L. Steele, Jr. and Jon L. White [Proc. ACM
  • SIGPLAN '90, pp. 112-126].

Is this also true for other methods that have digits/ndigits?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions