Closed
Description
From @pyfisch on August 5, 2016 17:15
The Zero
trait contains two methods: zero
returns the number 0 for the given type and is_zero
is provided and can be used to check if a number is 0.
The One
trait is similar but contains only the method one
to create the number 1. Please also add a method to check if a number is one.
Copied from original issue: rust-num/num#214