2021-08-31 18:21:00 +02:00
|
|
|
module big
|
|
|
|
|
|
|
|
pub const (
|
|
|
|
zero_int = Integer{
|
|
|
|
digits: []u32{len: 0}
|
|
|
|
signum: 0
|
2022-05-13 07:21:34 +02:00
|
|
|
is_const: true
|
2021-08-31 18:21:00 +02:00
|
|
|
}
|
|
|
|
one_int = Integer{
|
|
|
|
digits: [u32(1)]
|
|
|
|
signum: 1
|
2022-05-13 07:21:34 +02:00
|
|
|
is_const: true
|
2021-08-31 18:21:00 +02:00
|
|
|
}
|
|
|
|
two_int = Integer{
|
|
|
|
digits: [u32(2)]
|
|
|
|
signum: 1
|
2022-05-13 07:21:34 +02:00
|
|
|
is_const: true
|
2021-08-31 18:21:00 +02:00
|
|
|
}
|
|
|
|
)
|