diff options
author | Milan Markovic <[email protected]> | 2019-07-02 21:22:23 +0100 |
---|---|---|
committer | Milan Markovic <[email protected]> | 2019-07-02 21:22:23 +0100 |
commit | a01e3bd9896adcf28a89fbbd09235747319b8113 (patch) | |
tree | 412a90f5c6b39cb9a950c94c6e1e80c63a380c9a /Cargo.toml | |
parent | 580747e5f44ae8b42d565402db9829417ae2bc81 (diff) |
Fixing crash on large result
- Added depencency bignum
- Using num::BigNum in format::pprint to handle f64 numbers that are
larger than maximal i64 number (which was causing the bug)
If you want full feature parity with bc perhaps bignums can be used as
long as all operations are done on integers.
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -18,3 +18,4 @@ radix_fmt = "1.0.0" | |||
18 | lazy_static = "1.3.0" | 18 | lazy_static = "1.3.0" |
19 | directories = "2.0.1" | 19 | directories = "2.0.1" |
20 | regex = "1.1.7" | 20 | regex = "1.1.7" |
21 | num = "0.2" | ||