bugAxiom Computer Algebra System - Bugs: bug #9313, 0^0 handled inconsistently

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #9313: 0^0 handled inconsistently

Submitted by:  Martin Rubey <kratt6>
Submitted on:  Sat 12 Jun 2004 05:20:11 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: code bugStatus: Duplicate
Privacy: PublicAssigned to: None
Originator Name: kratt6Open/Closed: Closed
Release: tla june 2004Reproducibility: None
Fixed Release: 
Error message: 
Example of code trigerring the bug: 

0^0

Internal cause: 

The reason for 0^0 giving 1 is that axiom uses the lisp function expt for exponentiation of integers, which returns 1 (which is in line with the common lisp hyperspec)

Wed 30 Jun 2004 07:11:25 PM UTC, comment #2:
[Added information or comment]

This is not a bug but is related to bug #9424

See following message for details.
http://lists.nongnu.org/archive/html/axiom-developer/2004-06/msg00250.html

David Mentré <dmentre>
Project Administrator
Wed 30 Jun 2004 07:10:51 PM UTC, comment #1:
[Added information or comment]

This is not a bug but is related to bug #9424

See following message for details.
http://lists.nongnu.org/archive/html/axiom-developer/2004-06/msg00250.html

David Mentré <dmentre>
Project Administrator
Sat 12 Jun 2004 05:20:11 PM UTC, original submission:

mathematically speaking, 0^0 should be undefined. However, in axiom there are different kinds of 0^0, depending on the type of 0:

(1) -> 0^0
(1) 1 Type: PositiveInteger
(2) -> 0^0.0
>> Error detected within library code:
0**0 is undefined

protected-symbol-warn called with (NIL)
(2) -> 0.0^0
(2) 1.0 Type: Float
(3) -> 0.0^0.0
>> Error detected within library code:
0**0 is undefined

protected-symbol-warn called with (NIL)

Martin Rubey <kratt6>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 30 Jun 2004 07:13:03 PM UTCdmentreOpen/ClosedOpen=>Closed
Wed 30 Jun 2004 07:10:51 PM UTCdmentreStatusNone=>Duplicate

Back to the top


Powered by Savane 3.1-cleanup1