Skip to content

Commit

Permalink
make integer? works for normal native numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Jan 16, 2024
1 parent 89c1a2e commit b049f5e
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* fix writing to binary ports
* fix unboxing object literals
* throw error on comparing complex numbers [#248](https://github.com/jcubic/lips/issues/248)
* make `integer?` works for normal native numbers

## 1.0.0-beta.17
### Breaking
Expand Down
2 changes: 1 addition & 1 deletion dist/std.min.scm

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/std.scm

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified dist/std.xcb
Binary file not shown.
1 change: 1 addition & 0 deletions lib/R5RS.scm
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@
(not (eq? x Number.NEGATIVE_INFINITY))
(not (eq? x Number.POSITIVE_INFINITY))
(or (%number-type "bigint" x)
(%number-type "integer" x)
(and (%number-type "float" x)
(= (modulo x 2) 1)))))

Expand Down

0 comments on commit b049f5e

Please sign in to comment.