[
https://issues.apache.org/jira/browse/IMAGING-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16854512#comment-16854512
]
Gilles commented on IMAGING-228:
--------------------------------
bq. N * N * N \[...\] can be replaced by Math.pow(N, 3).
Why would you do that?
> 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)