From af3938170c282f980c60199aeca6e53a51c72386 Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Thu, 15 Jun 2017 18:24:45 -0700 Subject: [PATCH] improve log notation --- pitfall/fontkit/directory.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pitfall/fontkit/directory.rkt b/pitfall/fontkit/directory.rkt index cd487728..e7af5964 100644 --- a/pitfall/fontkit/directory.rkt +++ b/pitfall/fontkit/directory.rkt @@ -65,7 +65,7 @@ https://github.com/mbutterick/fontkit/blob/master/src/tables/directory.js (define numTables (length table-headers)) - (define searchRange (* (floor (/ (log numTables) (log 2))) 16)) + (define searchRange (* (floor (log numTables 2)) 16)) (hash-set*! this-val 'tag "true"