Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5e859db9
Commit
5e859db9
authored
Nov 25, 2004
by
Richard M. Stallman
Browse files
(Comparison of Numbers): Add eql.
parent
e50bc187
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
lispref/numbers.texi
lispref/numbers.texi
+7
-0
No files found.
lispref/numbers.texi
View file @
5e859db9
...
...
@@ -308,6 +308,13 @@ This function tests whether its arguments are numerically equal, and
returns @code{t} if so, @code{nil} otherwise.
@end defun
@defun eql value1 value2
This function compares two floating point numbers like @code{=}, and
compares two integers like @code{=}, and acts like @code{eq} in all
other cases. Thus, @code{(eql 1.0 1)} returns @code{nil}, but
@code{(eql 1.0 1.0)} and @code{(eql 1 1)} both return @code{t}.
@end defun
@defun /= number-or-marker1 number-or-marker2
This function tests whether its arguments are numerically equal, and
returns @code{t} if they are not, and @code{nil} if they are.
...
...
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