bugGuile - Bugs: bug #31464, `expt' broken [1.9.13]

 
 

bug #31464: `expt' broken [1.9.13]

Submitter:  Ludovic Courtès <civodul>
Submitted:  Tue 26 Oct 2010 11:55:17 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 20 Jan 2011 10:43:11 PM UTC, comment #1: 
Andy Wingo <wingo>
Group administrator
Tue 26 Oct 2010 11:55:17 AM UTC, original submission:  

#v+
scheme@(guile-user)> (expt -2742638075.5 2)
$8 = 7.52206361318235e18-1842.31337891184i
scheme@(guile-user)> (* -2742638075.5 -2742638075.5)
$9 = 7.52206361318235e18
#v-

Ludovic Courtès <civodul>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #21900:  expt-fix.patch added by rkrishnan (3KiB - text/x-patch - revised as per the comments on the guile-devel list.)
file #21890:  expt-fix.patch added by rkrishnan (3KiB - text/x-patch - The previous patch I posted yesterday was incorrect. Please review the attached patch which also includes some test cases. thanks.)
file #21882:  expt-fix.patch added by rkrishnan (2KiB - text/x-patch - Attaching a fix for this bug and addition of two test cases for expt. This is my first patch, so please let me know if I violated any existing norms. Will be happy to rework the patch if required.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by wingo (Posted a comment)
  • -email is unavailable- added by rkrishnan (Updated the item)
  • -email is unavailable- added by civodul (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-01-20 wingo StatusNone Fixed
        Open/ClosedOpen Closed
    2010-11-02 rkrishnan Attached File- Added expt-fix.patch, #21900
    2010-11-01 rkrishnan Attached File- Added expt-fix.patch, #21890
    2010-10-31 rkrishnan Attached File- Added expt-fix.patch, #21882

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code