/// Converts value into u128 type. Vector within Value can be of any width.
///
/// # Example
/// ```
/// use interp::values::*;
/// let unsign_128_16 = (Value::try_from_init(16, 16).unwrap()).as_u128();
/// ```
Converts value into u128 type. Vector within Value can be of any width.
Converts value into u128 type . Vector within Value can be of any width .
pub fn as_u128(&self) -> u128 {
        let mut val: u128 = 0;
        for (index, bit) in self.vec.iter().by_ref().enumerate() {
            if *bit {
                val |= 1 << index;
            }
        }
        val
    }
pub fn as_u128 ( & self ) -> u128 { let mut val : u128 = 0 ; for ( index , bit ) in self . vec . iter ( ) . by_ref ( ) . enumerate ( ) { if * bit { val |= 1 << index ; } } val }
Converts value into u128 type.
Converts value into u128 type .
&self
example
None