Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/sizes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,12 @@ mod extra_sizes {
pub type U1530 = uint!(0 1 0 1 1 1 1 1 1 0 1);
pub type U1658 = uint!(0 1 0 1 1 1 1 0 0 1 1);

// LMS sizes
pub type U2047 = uint!(1 1 1 1 1 1 1 1 1 1 1);
pub type U2180 = uint!(0 0 1 0 0 0 0 1 0 0 0 1);
pub type U4292 = uint!(0 0 1 0 0 0 1 1 0 0 0 0 1);
pub type U8516 = uint!(0 0 1 0 0 0 1 0 1 0 0 0 0 1);

impl_array_sizes! {
1040 => U1040,
1056 => U1056,
Expand Down Expand Up @@ -1051,4 +1057,12 @@ mod extra_sizes {
1530 => U1530,
1658 => U1658,
}

// LMS sizes
impl_array_sizes! {
2047 => U2047,
2180 => U2180,
4292 => U4292,
8516 => U8516,
}
}