[][src]Trait fortraith::modulo

pub trait modulo {
    type Result;
}

( % ) Calculate the rest from dividing the second top element by the top element

Examples

forth!(
    7 4 %
    return type Out as top
);
assert_eq!(Out::eval(), 3);

Associated Types

type Result

Loading content...

Implementors

Loading content...