From 778220b2e3ce662e733727fb9a560fcfe85c19eb Mon Sep 17 00:00:00 2001 From: Adrien Hopkins Date: Wed, 30 Aug 2023 13:53:53 -0500 Subject: Add digit map calculation This is not in the output yet, but it will be soon - printing it is another task since I want colours in my output. --- radix_info.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'radix_info.go') diff --git a/radix_info.go b/radix_info.go index daf62df..1a8cccb 100644 --- a/radix_info.go +++ b/radix_info.go @@ -29,7 +29,7 @@ func main() { factors.MTC(uint64(n))) } else { fmt.Printf("Multiplication Table Complexity ≤ %.4g\n", - float32(n) * float32(n - 2)) + float32(n)*float32(n-2)) } fmt.Printf("Natural Logarithm: %.2f\n", math.Log(float64(n))) } else { -- cgit v1.2.3