Trait tylar::Halve
[−]
[src]
pub trait Halve: NumType { type Out: NumType; }
Halving of number types.
Div<_,P2>
could be used instead of this, but Div
stresses the typechecker more
than Halve
, so that Halve
can be used with larger numbers without running into
the recursion limit.