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 "^"

Submitted by:  Cyril Adrian <cadrian>
Submitted on:  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 Percent Complete:  0%
Assigned to:  None 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>
Project Administrator
Fri 07 Jun 2013 07:46:52 AM UTC, original submission:


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>
Project Administrator


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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




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