mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 19:50:24 +02:00
Numerical comparisons are not negatable.
* module/language/tree-il/primitives.scm (*negatable-primitives*): Remove (< <= > >=) from the list of negatable primitives.
This commit is contained in:
parent
9ea816f54a
commit
73b98028f0
1 changed files with 1 additions and 2 deletions
|
@ -195,8 +195,7 @@
|
|||
(define *negatable-primitives*
|
||||
'((even? . odd?)
|
||||
(exact? . inexact?)
|
||||
(< . >=)
|
||||
(> . <=)
|
||||
;; (< <= > >=) are not negatable because of NaNs.
|
||||
(char<? . char>=?)
|
||||
(char>? . char<=?)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue