From 24239d9f0f2f4c2e0e74c220594e4462a8371e35 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 2 May 2019 15:15:43 +0100 Subject: [PATCH] move fpbase.py --- src/ieee754/fpadd/test/test_add.py | 5 +++-- src/ieee754/{add => fpcommon}/fpbase.py | 0 2 files changed, 3 insertions(+), 2 deletions(-) rename src/ieee754/{add => fpcommon}/fpbase.py (100%) diff --git a/src/ieee754/fpadd/test/test_add.py b/src/ieee754/fpadd/test/test_add.py index 989cf482..35503bed 100644 --- a/src/ieee754/fpadd/test/test_add.py +++ b/src/ieee754/fpadd/test/test_add.py @@ -3,9 +3,10 @@ from operator import add from nmigen import Module, Signal from nmigen.compat.sim import run_simulation -from nmigen_add_experiment import FPADD +from ieee754.fpadd.nmigen_add_experiment import FPADD -from unit_test_single import (get_mantissa, get_exponent, get_sign, is_nan, +from iee754.fpcommon.unit_test_single import (get_mantissa, get_exponent, + get_sign, is_nan, is_inf, is_pos_inf, is_neg_inf, match, get_rs_case, check_rs_case, run_test, run_edge_cases, run_corner_cases) diff --git a/src/ieee754/add/fpbase.py b/src/ieee754/fpcommon/fpbase.py similarity index 100% rename from src/ieee754/add/fpbase.py rename to src/ieee754/fpcommon/fpbase.py -- 2.30.2