db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-6447) Use StrictMath for more functions in SYSFUN
Date Wed, 05 Feb 2014 11:10:09 GMT

     [ https://issues.apache.org/jira/browse/DERBY-6447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Knut Anders Hatlen updated DERBY-6447:
--------------------------------------

    Attachment: releaseNote.html

> Use StrictMath for more functions in SYSFUN
> -------------------------------------------
>
>                 Key: DERBY-6447
>                 URL: https://issues.apache.org/jira/browse/DERBY-6447
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 10.11.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: d6447-1a.diff, releaseNote.html
>
>
> Most of the functions in the SYSFUN schema use methods in java.lang.StrictMath directly.
A few of them use methods in SystemProcedures instead. Java 1.5 added more methods to StrictMath,
so it is now possible to make more of the functions use StrictMath and drop the implementation
in SystemProcedures:
> - LOG10 could use StrictMath.log10()
> - COSH could use StrictMath.cosh()
> - SINH could use StrictMath.sinh()
> - TANH could use StrictMath.tanh()



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message