Implement some missing num-traits traits
All of the below obviously only applies to the types where it is applicable.
-
Most important: Num(looks like num-traits maintainers will clarify in the docs that it's ok to return Err infrom_str_radixso we're good to go; as it may take them unknown amount of time to do it though, should we just go ahead and do it on our side?) -
Also important: Signed,Unsigned(both are currently blocked byNum) -
Inv -
Pow(for integer power types only) -
MulAddAssign(just for the sake of completeness) -
FloatConst -
ToPrimitive,FromPrimitive
Edited by Trevor Spiteri