Impliticly Extending Numbers

Is there a type in Rust or Rust's ecosystem (https://crates.io) which is an extensible number (floating-point and integral) type like Python's int?

1 Like

Does this have one for floating-point as well?

No, because FP numbers have their inherent precision issues, so you can use BigRational instead for rational numbers.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.