[LISPWORKS][Common Lisp HyperSpec (TM)] [Previous][Up][Next]


12.1.5.3.1 Examples of Rule of Canonical Representation for Complex Rationals

 #c(1.0 1.0) =>  #C(1.0 1.0)
 #c(0.0 0.0) =>  #C(0.0 0.0)
 #c(1.0 1) =>  #C(1.0 1.0)
 #c(0.0 0) =>  #C(0.0 0.0)
 #c(1 1) =>  #C(1 1)
 #c(0 0) =>  0
 (typep #c(1 1) '(complex (eql 1))) =>  true
 (typep #c(0 0) '(complex (eql 0))) =>  false


[Starting Points][Contents][Index][Symbols][Glossary][Issues]
Copyright 1996-2005, LispWorks Ltd. All rights reserved.