clojure.core/bigint¶
Coerce to BigInt
Examples¶
Note by rebcabin¶
The last example does not seem to work; there seems to be a missing coercion from Clojure BigInt to Java BigInteger. I get
IllegalArgumentException No matching method found: isProbablePrime for class clojure.lang.BigInt clojure.lang.Reflector.invokeMatchingMethod (Reflector.java:53)
See also¶
Content from the matching ClojureDocs page, with authors credited on each contribution.