Bugs item #769900, was opened at 20030711 15:50
Message generated for change (Settings changed) made by robert_dodier
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=104933&aid=769900&group_id=4933
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: Lisp Core  Assume
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Stavros Macrakis (macrakis)
Assigned to: Nobody/Anonymous (nobody)
Summary: asksign(a^b) WRONG!
Initial Comment:
asksign(a^b);
Is a pos neg or zero?
neg;
=> neg
It does not ask whether b is an integer, or if it's even or
odd!!!
I believe the correct behavior is:
if b is an even integer => pos
if b is an odd integer => neg
if b is not an integer, ask user about the sign of a^b
directly  I suppose we could ask if b is rational, and if
so whether it is even/odd (pos), odd/odd (neg), or
odd/even (undefined  is actually complex), but why
get into that mess?

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=104933&aid=769900&group_id=4933
