#3 Add float in PDL::Ops

open
nobody
None
1
2010-02-20
2003-12-21
Anonymous
No

Is it possible add to float support in DL::Ops
when there is only double ?
For example power, exp, log...

Thanks,

Discussion

  • Chris Marshall

    Chris Marshall - 2009-05-01

    Reducing the priority of this request to reflect the lack of an actual POC and the age of the request without further follow-up. Requests with "live" submitters that can be interacted with to refine the idea and evaluate satisfaction with solution proposals get much farther in active development. Another alternative is to fix the code oneself and submit a working patch from which to start.

     
  • Chris Marshall

    Chris Marshall - 2009-05-01
    • priority: 5 --> 2
     
  • Chris Marshall

    Chris Marshall - 2010-02-20

    The main issue here is that the functions are generated from descriptions
    but the current implementation does not appear to have support for multiple
    names providing a single high-level PDL function or operator.

    Since this functionality is Core and critical to PDL functioning, it will be
    difficult to fix without significant risk to PDL correctness. Given that computation
    is much cheaper than memory access on modern processors, a "hack around"
    might be to implement with a pre-cast to double and a post-conversion back
    to float. Of course you then have to handle out-of-range errors and more.

    --Chris

     
  • Chris Marshall

    Chris Marshall - 2010-02-20
    • priority: 2 --> 1
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks