Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
cmucl
cmucl
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • cmucl
  • cmuclcmucl
  • Issues
  • #58

Closed
Open
Opened Jan 31, 2018 by Paul F. Dietz@pdietz

Bogus type error in comparison of complex number with THE form

Compiling this:

(defun c9 (x) (= (the (eql 1.0d0) x) #c(1/2 1/2)))

and evaluating (c9 1.0d0)

yields a type error:

Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER: #C(0.5d0 0.5d0) is not of type (COMPLEX (DOUBLE-FLOAT 1.0d0 1.0d0)) [Condition of type TYPE-ERROR]

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: cmucl/cmucl#58