From: Jacob Lifshay Date: Sat, 29 Jun 2019 03:26:27 +0000 (-0700) Subject: fix names X-Git-Tag: ls180-24jan2020~962 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aec00f4d99eeebef6df04580793231c8773268c8;p=ieee754fpu.git fix names --- diff --git a/src/ieee754/div_rem_sqrt_rsqrt/algorithm.py b/src/ieee754/div_rem_sqrt_rsqrt/algorithm.py index dee6dcf4..74b7dec1 100644 --- a/src/ieee754/div_rem_sqrt_rsqrt/algorithm.py +++ b/src/ieee754/div_rem_sqrt_rsqrt/algorithm.py @@ -393,21 +393,21 @@ class Fixed: return retval -def fract_sqrt(): +def fixed_sqrt(): # FIXME: finish raise NotImplementedError() -class FractSqrt: +class FixedSqrt: # FIXME: finish pass -def fract_rsqrt(): +def fixed_rsqrt(): # FIXME: finish raise NotImplementedError() -class FractRSqrt: +class FixedRSqrt: # FIXME: finish pass diff --git a/src/ieee754/div_rem_sqrt_rsqrt/test_algorithm.py b/src/ieee754/div_rem_sqrt_rsqrt/test_algorithm.py index 23dcbab9..c81127c0 100644 --- a/src/ieee754/div_rem_sqrt_rsqrt/test_algorithm.py +++ b/src/ieee754/div_rem_sqrt_rsqrt/test_algorithm.py @@ -3,7 +3,7 @@ from nmigen.hdl.ast import Const from .algorithm import (div_rem, UnsignedDivRem, DivRem, - Fract, fract_sqrt, FractSqrt, fract_rsqrt, FractRSqrt) + Fixed, fixed_sqrt, FixedSqrt, fixed_rsqrt, FixedRSqrt) import unittest