mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-18 21:29:18 +02:00
Removing all need for (scheme inexact)
This commit is contained in:
parent
a024126f7b
commit
1c8effbcd2
2 changed files with 3 additions and 3 deletions
|
@ -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?)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue