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