Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/francof2a/fxpmath
Browse files Browse the repository at this point in the history
  • Loading branch information
francof2a committed Jun 8, 2020
2 parents 1673326 + eed276d commit c8a856f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ x.info(verbose=3)
> Lower = -128.0
> Precision = 0.00390625
> Overflow = saturate
> Rounfing = trunc
> Rounding = trunc
> Shifting = expand
### Representations
Expand Down Expand Up @@ -472,7 +472,7 @@ x.info(3)
> Lower = 10000.0
> Precision = 0.5
> Overflow = saturate
> Rounfing = trunc
> Rounding = trunc
> Shifting = expand
Note that *upper* and *lower* limits are correct, and that the *precision* is what we needed.
Note that *upper* and *lower* limits are correct, and that the *precision* is what we needed.
2 changes: 1 addition & 1 deletion fxpmath/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ def info(self, verbose=1):
s += '\tLower\t\t=\t{}\n'.format(self.lower)
s += '\tPrecision\t=\t{}\n'.format(self.precision)
s += '\tOverflow\t=\t{}\n'.format(self.overflow)
s += '\tRounfing\t=\t{}\n'.format(self.rounding)
s += '\tRounding\t=\t{}\n'.format(self.rounding)
s += '\tShifting\t=\t{}\n'.format(self.shifting)
print(s)

Expand Down

0 comments on commit c8a856f

Please sign in to comment.