PPT Slide
EQL
EQL is for testing numeric equality.
( EQL x y ) returns
T if ( EQ x y ) or
if x and y are numbers of the same type and value.
NIL otherwise
( eql ( float 2 ) ( sqrt 4 ) ) T
( eql 2 ( sqrt 4 ) ) NIL
( eql ’( a b ) ’( a b ) ) NIL
1.25
Previous slide
Next slide
Back to first slide
View graphic version