Skip to main content

nanvm_lib/vm/bigint/
default.rs

1use core::iter::empty;
2
3use crate::{
4    sign::Sign,
5    vm::{BigInt, IVm},
6};
7
8impl<A: IVm> Default for BigInt<A> {
9    fn default() -> Self {
10        Self::unchecked_new(Sign::Positive, empty())
11    }
12}