bugJACAL symbolic mathematics program - Bugs: bug #21233, poly() doesn't handle rational...

 
 

bug #21233: poly() doesn't handle rational scalar coefficients correctly

Submitted by:  Wim Lewis <wiml>
Submitted on:  Wed 03 Oct 2007 07:45:15 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Aubrey Jaffer <jaffer>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 23 Feb 2008 02:00:19 AM UTC, comment #1:

Fixed in release jacal-1b9.

Aubrey Jaffer <jaffer>
Project AdministratorIn charge of this item.
Wed 03 Oct 2007 07:45:15 AM UTC, original submission:

Giving a coefficient such as 3/4 to the poly command produces unexpected results:

e0 : poly(x, [1/2, 3/4]);

1 + 3 x
e0: -------
2 + 4 x

e1 : poly(x, [1, 3/4]);

-1 + 3 x
e1: --------
4 x

I would expect to see, respectively:

2 + 3 x
e0: -------
4

4 + 3 x
e1: -------
4

This is with the current CVS version of jacal as of today (2 october 2007).

Wim Lewis <wiml>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jaffer (Posted a comment)
  • -unavailable- added by wiml (Submitted the item)
  •  

    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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 23 Feb 2008 02:00:19 AM UTCjafferStatusNone=>Fixed
      Assigned toNone=>jaffer
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1