summaryrefslogtreecommitdiff
path: root/radix_info.go
diff options
context:
space:
mode:
authorAdrien Hopkins <adrien.p.hopkins@gmail.com>2023-09-04 19:53:20 -0500
committerAdrien Hopkins <adrien.p.hopkins@gmail.com>2023-09-04 19:53:20 -0500
commitd034179fde42c4fc633b98fef6e84c2e0d1c2834 (patch)
treea9969a5ab054d4db50d6eb18f9710af5855c60fa /radix_info.go
parenta663fa77cde6ad48f29abd6973211c179ff32464 (diff)
Add ability to show full digit maps
Full digit maps will show every digit from 0 to 35, regardless of the radix. This allows you to see extra fractions for small radices and to get a digit map for radices above 36. This isn't enabled by default because the extra "digits" added for small radices aren't actually digits - so it may be unintuitive. There are also some situations where only a radix's actual digits matter, such as multiplication tables.
Diffstat (limited to 'radix_info.go')
-rw-r--r--radix_info.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/radix_info.go b/radix_info.go
index fb1caef..0500a33 100644
--- a/radix_info.go
+++ b/radix_info.go
@@ -12,7 +12,7 @@ func main() {
}
if err == nil {
- factorInfo := GetFactorInfo(args.Radix)
+ factorInfo := GetFactorInfo(args.Radix, args.FullMap)
if args.Compact {
factorInfo.WriteToCompact(os.Stdout)
} else {