2008-01-02から1日間の記事一覧

測定

そんなに大きい整数を相手にする気も無いのだが. 2^{20000}辺りを引数にすると差が出た. ;(define (nu_2 a) ; (cond [(zero? a) "infty"] ; [else (the number of consecutive zeros inthe LSBs of the binary representation of a)])) (define (nu-div a) (…