From 62e5d63a6cde9097ce6022f1a7b045e62a4ae62c Mon Sep 17 00:00:00 2001 From: Eric Badger Date: Wed, 20 May 2020 08:28:53 -0700 Subject: [PATCH] fix typo rounfing->rounding --- README.md | 6 +++--- fxpmath/objects.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a2fa101..d9c33bd 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ x.info(verbose=3) > Lower = -128.0 > Precision = 0.00390625 > Overflow = saturate -> Rounfing = trunc +> Rounding = trunc > Shifting = expand ### Representations @@ -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. \ No newline at end of file +Note that *upper* and *lower* limits are correct, and that the *precision* is what we needed. diff --git a/fxpmath/objects.py b/fxpmath/objects.py index cb6add0..e44448f 100644 --- a/fxpmath/objects.py +++ b/fxpmath/objects.py @@ -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)