Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 98530 invoked from network); 23 Sep 2008 07:27:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Sep 2008 07:27:07 -0000 Received: (qmail 85557 invoked by uid 500); 23 Sep 2008 07:27:04 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 85531 invoked by uid 500); 23 Sep 2008 07:27:04 -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 85520 invoked by uid 99); 23 Sep 2008 07:27:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2008 00:27:04 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2008 07:26:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8D814234C1E4 for ; Tue, 23 Sep 2008 00:26:46 -0700 (PDT) Message-ID: <2092535273.1222154806578.JavaMail.jira@brutus> Date: Tue, 23 Sep 2008 00:26:46 -0700 (PDT) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-3874) Document numeric function ATAN2(float1,float2) In-Reply-To: <235601025.1221120704350.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633640#action_12633640 ] Knut Anders Hatlen commented on DERBY-3874: ------------------------------------------- > Should returning positive zero instead of negative zero be considered a bug? > Are we able to separate between the two in Derby today? I'm not sure if it's a bug or not (I didn't find any mentioning of negative zero in the SQL standard), but it doesn't seem like Derby separates between the two. For instance, VALUES -0.0 returns 0.0. There is however a bug report about an intermittent test failure where a query results in -0.0 instead of 0.0. See DERBY-2447. > Why are we not allowing NaN and Infinity? There's a discussion about this in DERBY-3290. > Document numeric function ATAN2(float1,float2) > ---------------------------------------------- > > Key: DERBY-3874 > URL: https://issues.apache.org/jira/browse/DERBY-3874 > Project: Derby > Issue Type: Sub-task > Components: Documentation > Affects Versions: 10.5.0.0 > Reporter: Kristian Waagan > Assignee: Kim Haase > > Document the numeric function ATAN2(float1,float2). > Mentioned in the JDBC specification, appendix C.1. > Implementation documented by the JavaDoc for StrictMath.atan2. > According to the JDBC specification, table B-1, a JDBC float maps to a Java double. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.