Closed jhpratt closed 2 years ago
After minimal checking, this will be impossible for quite a while. Custom types must be permitted in const generics and allocation must be supported in const fn
among presumably other blockers.
This crate is intended to serve as a playground for a future implementation in std
, where BigInt
and BigUint
do not exist. I am closing this issue for that reason.
This should be done behind a feature gate. It can be auto-generated by the macro whenever the feature is enabled. As
BigInt
is larger thanBigUint
, so the latter should be preferred if negative numbers are not needed.