Trait snarkvm_wasm::traits::utilities::arithmetic::Div[][src]

pub trait Div<F, Rhs = Self> where
    F: Field
{ type ErrorType; pub fn div<CS>(&self, cs: CS, other: &Self) -> Result<Self, Self::ErrorType>
    where
        CS: ConstraintSystem<F>
; }

Returns division of self / other in the constraint system.

Associated Types

Loading content...

Required methods

pub fn div<CS>(&self, cs: CS, other: &Self) -> Result<Self, Self::ErrorType> where
    CS: ConstraintSystem<F>, 
[src]

Loading content...

Implementors

impl<F> Div<F, Int8> for Int8 where
    F: PrimeField
[src]

type ErrorType = SignedIntegerError

impl<F> Div<F, Int16> for Int16 where
    F: PrimeField
[src]

type ErrorType = SignedIntegerError

impl<F> Div<F, Int32> for Int32 where
    F: PrimeField
[src]

type ErrorType = SignedIntegerError

impl<F> Div<F, Int64> for Int64 where
    F: PrimeField
[src]

type ErrorType = SignedIntegerError

impl<F> Div<F, Int128> for Int128 where
    F: PrimeField
[src]

type ErrorType = SignedIntegerError

Loading content...