- improved accuracy of frange by using repr instead of str
- added unit tests for _digits function