Next: Principal Values and Branch Cuts, Previous: Rule of Canonical Representation for Complex Rationals, Up: Complex Computations

#### 12.1.5.4 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