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

 
 

bug #31464: `expt' broken [1.9.13]

Submitted by:  Ludovic Courtès <civodul>
Submitted on:  Tue 26 Oct 2010 11:55:17 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 20 Jan 2011 10:43:11 PM UTC, comment #1:

Fixed by applying http://article.gmane.org/gmane.lisp.guile.devel/11119.

Andy Wingo <wingo>
Project 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>
Project Administrator

 

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

Attach File(s):
   
   
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
  • -unavailable- added by wingo (Posted a comment)
  • -unavailable- added by rkrishnan (Updated the item)
  • -unavailable- added by civodul (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 20 Jan 2011 10:43:11 PM UTCwingoStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 02 Nov 2010 08:39:04 AM UTCrkrishnanAttached File-=>Added expt-fix.patch, #21900
    Mon 01 Nov 2010 05:53:21 PM UTCrkrishnanAttached File-=>Added expt-fix.patch, #21890
    Sun 31 Oct 2010 06:07:47 PM UTCrkrishnanAttached File-=>Added expt-fix.patch, #21882

    Back to the top


    Powered by Savane 3.1-cleanup1