Menu

#591 (floatp #C(1.2 0)) --> T is wrong.

closed-invalid
clisp (524)
5
2011-04-01
2011-03-18
No

(floatp #C(1.2 0)) --> T
but the standard specifies that when the real part is floating point, the imaginary part must become floating point, and #c(1.2 0.0) is complexp, not floatp.

12.1.5.3 Rule of Canonical Representation for Complex Rationals
12.1.5.3.1 Examples of Rule of Canonical Representation for Complex Rationals

Discussion

  • Sam Steingold

    Sam Steingold - 2011-03-18

    This bug report is now marked as "pending"/"invalid".
    This means that we think that the problem you report is not a problem with CLISP.
    Unless you - the reporter - act within 2 weeks, the bug will be permanently closed.
    Sorry about the inconvenience - we hope your silence means that you agree that this is not a bug in CLISP.

     
  • Sam Steingold

    Sam Steingold - 2011-03-18

    this is a clisp extension: complex numbers with different types of real and imaginary parts.
    http://clisp.org/impnotes/num-concepts.html#complex-comp

     
  • Sam Steingold

    Sam Steingold - 2011-03-18
    • assigned_to: haible --> sds
    • status: open --> pending-invalid
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-invalid --> closed-invalid
     

Log in to post a comment.