Skip to content

Rational Limitations #91

@ghost

Description

Version: 1.0.0

Problem

Rationals don't support very big/very small numbers and sometimes produce incorrect result

Desired Behavior

Work correctly ._.

How to Reproduce

  1. Do Rational.of(0.00005)
  2. It print 0 / 1
  3. Do Rational.of(1000000000000)
  4. It print -727379968 / 1 (Probably integer size issue, but ._.)

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions