taskLiberty Eiffel - Tasks: task #12652, Potentially suboptimal REAL_*...

 
 

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

task #12652: Potentially suboptimal REAL_* infix "^"

Submitter:  Cyril Adrian <cadrian>
Submitted:  Fri 07 Jun 2013 07:46:52 AM UTC
   
 
Should Start On:  Thu 06 Jun 2013 10:00:00 PM UTC Should be Finished on:  Thu 06 Jun 2013 10:00:00 PM UTC
Category:  Kernel libraries Priority:  5 - Normal
Status:  None Assigned to:  None
Percent Complete:  0% Open/Closed:  Closed
Fixed Release:  None Planned Release:  None
Effort:  0.00

Thu 12 Sep 2013 09:44:57 AM UTC, comment #1: 

Wrong assumptions: "double scalbln(double x, long int exp)" and the other implements "x FLT_RADIX * exp"; FLT_RADIX usually is 2.

Paolo Redaelli <Tybor>
Group administrator
Fri 07 Jun 2013 07:46:52 AM UTC, original submission:  

https://github.com/LibertyEiffel/Liberty/issues/57

I didn't know the functions "scalbn, scalbnf, scalbnl, scalbln, scalblnf, scalblnl - multiply floating-point number by integral power of radix".

I see that they are not used neither in the standard library neither in the compiler itself which prefer to reimplement it.
Is it perhaps better to use libc in cases like this?

Cyril Adrian <cadrian>
Group administrator

 

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

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 Tybor (Posted a comment)
  • -email is unavailable- added by cadrian (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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-09-12 Tybor Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code