Removing all need for (scheme inexact)

This commit is contained in:
Koz Ross 2017-02-10 17:59:08 +13:00
parent a024126f7b
commit 1c8effbcd2
2 changed files with 3 additions and 3 deletions

View file

@ -125,7 +125,7 @@
(define first-set-bit log2-binary-factors)
(define (logbit? index n)
(logtest (exact (expt 2 index)) n))
(logtest (ash 1 index) n))
(define bit-set? logbit?)

View file

@ -10,8 +10,8 @@
;;;; doesn't have them yet. This will need to be modified accordingly once
;;;; this support is provided.
(define-library (srfi 60)
(import (scheme base)
(scheme inexact))
(import
(scheme base))
(export
any-bits-set? arithmetic-shift ash
bit-count bit-field bit-set? bitwise-and bitwise-if bitwise-ior