Skip to content

dec: cannot cast decimal values with exponent > 0 into primitive ints #49

Description

@sploiselle

The decimal implementation of casting values into primitive integers requires the exponent to be exactly zero. However, it could be more permissive (and useful) and require that the exponent is simply greater than zero, and do some bookkeeping at the end to multiply the result by the appropriate power.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions