stdlib: implement strtoul() and strtol() using a macro
Created by: Arcterus
I extracted the code from the version of strtol()
I implemented into a macro, which I then used to define both strtoul()
and strtol()
. The test is currently just the test used for strtol()
. This should resolve #37 (closed).
Several of the changes in this commit are from running cargo fmt
on stdlib
.