binius_field/arch/portable/
packed_16.rs

1// Copyright 2024-2025 Irreducible Inc.
2
3use super::{
4	packed::PackedPrimitiveType,
5	packed_arithmetic::{alphas, impl_tower_constants},
6};
7use crate::{
8	arch::portable::packed_macros::{portable_macros::*, *},
9	arithmetic_traits::impl_transformation_with_strategy,
10};
11
12define_packed_binary_fields!(
13	underlier: u16,
14	packed_fields: [
15		packed_field {
16			name: PackedBinaryField16x1b,
17			scalar: BinaryField1b,
18			alpha_idx: 0,
19			mul: (None),
20			square: (None),
21			invert: (None),
22			mul_alpha: (None),
23			transform: (PackedStrategy),
24		},
25	]
26);