[][src]Trait leo_gadgets::bits::sign_extend::SignExtend

pub trait SignExtend where
    Self: Sized
{ #[must_use] pub fn sign_extend(bits: &[Boolean], length: usize) -> Vec<Boolean>; }

Sign extends an array of bits to the desired length. Expects least significant bit first

Required methods

#[must_use]pub fn sign_extend(bits: &[Boolean], length: usize) -> Vec<Boolean>[src]

Loading content...

Implementations on Foreign Types

impl SignExtend for Boolean[src]

Loading content...

Implementors

Loading content...