[ 
https://issues.apache.org/jira/browse/IMAGING-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16855360#comment-16855360
 ] 

Bruno P. Kinoshita commented on IMAGING-228:
--------------------------------------------

>I just wanted to point out that the Math method takes 2 {{double}} as 
>arguments.

Oh, good spot!

And good to know about the current status of FastMath. Will bring performance 
improvements up in the mailing list after 1.0 is out - and I have had the 
chance to use it more to get a good idea of how well it performs.

Thanks Gilles!

> Remove private method PhotometricInterpreterLogLuv#cube by Math.pow
> -------------------------------------------------------------------
>
>                 Key: IMAGING-228
>                 URL: https://issues.apache.org/jira/browse/IMAGING-228
>             Project: Commons Imaging
>          Issue Type: Improvement
>            Reporter: Bruno P. Kinoshita
>            Assignee: Bruno P. Kinoshita
>            Priority: Minor
>             Fix For: 1.0-alpha2
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> We have a private method in PhotometricInterpreterLogLuv, that calculates the 
> cube of a number N doing N * N * N. That can be replaced by Math.pow(N, 3).
> Will add unit tests and some javadocs around photometric interpreters, 
> logluv, cei, lab, color spaces, ceixyz-ceilab, etc, as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to