Skip to content

Add more number types #192

@oxinabox

Description

@oxinabox

Following up on #191
It would be useful to have a few more number types.
In particular it would be useful to have Rational numbers and 128 bit integers.
Calculating grid-coefficients for higher-order finite differencingusing Rational{Int128} for intermidiate values before converting to Float64 at the end gained me several orders of magnitude in accuracy;
and presumably has other applications.

And I know people working in astronomy like there rediculously high precision floats because of working at different scales.

I suggest:

  • Rational numbers
  • Int128
  • BigInt (GMP equiv)
  • BigFloat (MPFR equiv)

Metadata

Metadata

Assignees

No one assigned

    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