test longer name
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 20 Feb 2020 21:19:48 +0000 (21:19 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 20 Feb 2020 21:19:48 +0000 (21:19 +0000)
src/ieee754/part/partsig.py

index 75417cfdb06c121613c0883a709779bd205131bd..316bd2a2f550f34c11727b1d360fea282636b2a5 100644 (file)
@@ -51,7 +51,7 @@ class PartitionedSignal:
 
     def get_modname(self, category):
         self.modnames[category] += 1
-        return "%s_%d" % (category, self.modnames[category])
+        return "mod_%s_%d" % (category, self.modnames[category])
 
     def eq(self, val):
         return self.sig.eq(getsig(val))