void ShowBitSeq(N2 n, ShowLog dst) { var bits = BitSeq.bits(n); dst.Show($"n={n}, count={bits.Length}"); dst.Show(RP.PageBreak120); root.iter(bits, s => dst.Buffer.AppendFormat("{0} ", s.Format())); dst.ShowBuffer(); }
public static BitBlock <BitBlock2> ToBitBlock(this BitString src, N2 n) => BitBlock.FromSpan <BitBlock2>(src.BitSeq);
public static (sbyte x0, sbyte x1) split(short src, N2 parts = default) => (lo(src), hi(src));