fn numeric_to_twos_complement_inner<D: Dec<N>, const N: usize>(
    d: Decimal<N>,
    cx: &mut Context<Decimal<N>>,
    buf: &mut [u8]
)