Skip to content

Revisit big float support #202

@anakrish

Description

@anakrish

Today Regorus defaults to big floats to pass the OPA test suite. However, this is not ideal for the following reasons

For these reasons, it is better to

  • Default to regular precision
  • Implement an optimal Number representation that can handle u64, i64 and f64 and arithmetic between them
  • Provide a way for users to opt into big float support.

Lack of support for big float by default will cause an incompatibility with OPA. But it is justified since big float support itself isn't that will defined in OPA, and users can always opt in explicitly if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions