We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ecaa7d commit ca2ed0dCopy full SHA for ca2ed0d
README.md
@@ -54,4 +54,15 @@ assert_eq!(
54
&other_number.minimal_polynomial().to_string(),
55
"2 + -8*X + -4*X^2 + 0*X^3 + 1*X^4"
56
);
57
+
58
+// works with really big numbers
59
+let really_big = Number::from(1_00000_00000i64).pow(20) + Number::from(23);
60
+assert_eq!(
61
+ &really_big.to_integer_floor().to_string(),
62
+ "100000000000000000000000000000000000000000000\
63
+ 000000000000000000000000000000000000000000000\
64
65
66
+ 000000000000000000023"
67
+)
68
```
0 commit comments