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] Commented: (DERBY-3874) Document numeric function ATAN2(float1,float2)
Date Tue, 23 Sep 2008 07:26:46 GMT

    [ 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:
>            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.

View raw message