Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

The precision of float64 is lost #177

@xwj-vic

Description

@xwj-vic

When numbers exceeding 9007199254740991 are converted to float64, precision loss occurs, resulting in incorrect comparison results. Why not consider using "decimal/big decimal" to solve the problem of precision loss?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions