Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D0AA010AE2 for ; Wed, 5 Feb 2014 11:12:10 +0000 (UTC) Received: (qmail 34437 invoked by uid 500); 5 Feb 2014 11:12:10 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 34402 invoked by uid 500); 5 Feb 2014 11:12:09 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 34388 invoked by uid 99); 5 Feb 2014 11:12:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Feb 2014 11:12:09 +0000 Date: Wed, 5 Feb 2014 11:12:09 +0000 (UTC) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (DERBY-6447) Use StrictMath for more functions in SYSFUN MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-6447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Anders Hatlen resolved DERBY-6447. --------------------------------------- Resolution: Fixed Fix Version/s: 10.11.0.0 > 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 > Fix For: 10.11.0.0 > > 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)