bugMIT/GNU Scheme - Bugs: bug #63550, Missing open-coding for...

 
 

bug #63550: Missing open-coding for integer->flonum conversion

Submitter:  Taylor R. Campbell <riastradh>
Submitted:  Mon 19 Dec 2022 06:38:14 PM UTC
   
 
Category:  compiler Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Suboptimal behavior
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open
Keywords: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 19 Dec 2022 06:38:14 PM UTC, original submission:  

It would be nice if int:->flonum and fixnum->flonum were open-coded.

It would also be nice if they (or some alternative) were clearly documented and implemented to have round-to-nearest/ties-to-even behaviour (or respected the hardware's floating-point rounding mode), and to overflow by raising a floating-point exception and returning infinity instead of signalling an error or returning #f.

Taylor R. Campbell <riastradh>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by riastradh (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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-0159.
    Corresponding source code