Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D253D97D2 for ; Thu, 13 Oct 2011 17:05:37 +0000 (UTC) Received: (qmail 7162 invoked by uid 500); 13 Oct 2011 17:05:36 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 7049 invoked by uid 500); 13 Oct 2011 17:05:36 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 7035 invoked by uid 99); 13 Oct 2011 17:05:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 17:05:36 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 17:05:33 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6B9CB3069D3 for ; Thu, 13 Oct 2011 17:05:12 +0000 (UTC) Date: Thu, 13 Oct 2011 17:05:12 +0000 (UTC) From: "Gilles (Commented) (JIRA)" To: issues@commons.apache.org Message-ID: <298726251.9914.1318525512442.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <525839948.9894.1318525152127.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MATH-690) Remove methods from "MathUtils" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MATH-690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126729#comment-13126729 ] Gilles commented on MATH-690: ----------------------------- For "byte", "short", "int", "long", do we keep "sign" or "indicator"? Another alternative would be to replace them with "signum" or "copySign" in order to have a consistent naming with their counterpart in "FastMath". > Remove methods from "MathUtils" > ------------------------------- > > Key: MATH-690 > URL: https://issues.apache.org/jira/browse/MATH-690 > Project: Commons Math > Issue Type: Task > Reporter: Gilles > Assignee: Gilles > Priority: Trivial > Labels: api-change > Fix For: 3.0 > > > I propose to remove the following methods from "MathUtils": > public static double sign(final double x) > public static float sign(final float x) > public static double sinh(double x) > public static double cosh(double x) > Also, "sign" and "indicator" functions seem redundant (and the "float" and > "double" versions are not dealing correctly with -0.0). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira