On Mon Jul 13, 2026 at 4:42 AM CEST, Peter McGoron via Chicken-users wrote: > In CHICKEN 6 (and CHICKEN 5) there is a signed real zero but no signed > imaginary zero: > > * -0.0i reads as -0.0 (the real number) > > * (imag-part (make-rectangular 1.0-0.0i)) evaluates to 0.0 > > The lack of signed imaginary zero is a bit frustrating because some > functions that should be sensitive to signed real zero return the > incorrect values because the sign at some point doesn't transfer to the > imaginary part. > > Is it possible to fix this?
I have pushed several changes to the complex number parsing, printing and how make-rectangular handles inexact zero in the second argument. Please give it a try (C6 only). cheers, felix
