Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sébastien Villemot
antik
Commits
5be849e0
Commit
5be849e0
authored
Sep 13, 2017
by
Liam M. Healy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore default equality test (e.g., pdq)
parent
33156b16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
init/generic.lisp
init/generic.lisp
+3
-2
No files found.
init/generic.lisp
View file @
5be849e0
;; Generic functions arithmetic functions on generalized numbers
;; Liam Healy Tue Feb 9 1999 - 21:38
;; Time-stamp: <201
5-11
-1
5
1
5:53:03ES
T generic.lisp>
;; Time-stamp: <201
7-09
-1
3
1
6:42:19CD
T generic.lisp>
;; Copyright 2011, 2013, 2014, 2015 Liam M. Healy
;; Copyright 2011, 2013, 2014, 2015
, 2017
Liam M. Healy
;; Distributed under the terms of the GNU General Public License
;;
;; This program is free software: you can redistribute it and/or modify
...
...
@@ -320,6 +320,7 @@
(
:documentation
"Numeric equal"
)
(
:method
((
a
number
)
(
b
number
))
(
if
(
cl:=
a
b
)
a
))
(
:method
(
a
b
)
(
cl:=
(
numbcomp
a
)
(
numbcomp
b
)))
#+
(
or
)
(
:method
(
a
b
)
(
funcall-dyadic
'=
(
numbcomp
a
)
(
numbcomp
b
))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment