Skip to content

sign(z) for complex z should be an error #4195

Description

@rtoy

Imported from SourceForge on 2024-07-09 19:41:32
Created by macrakis on 2021-10-11 16:50:05
Original: https://sourceforge.net/p/maxima/bugs/3875


declare(z,complex)$
sign(z) => pnz
sign(sqrt(z)) => pz

These are incorrect; they should both give an error the way sign(%i) does.

csign is correct:

declare(z,complex)$
csign(z) => complex
csign(sqrt(z)) => complex

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions