[ 
https://issues.apache.org/jira/browse/PHOENIX-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14495115#comment-14495115
 ] 

ASF GitHub Bot commented on PHOENIX-1814:
-----------------------------------------

Github user rangent commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/67#discussion_r28380940
  
    --- Diff: 
phoenix-core/src/it/java/org/apache/phoenix/end2end/ArithmeticQueryIT.java ---
    @@ -985,4 +985,64 @@ public void testFloatingPointMultiplicationUpsert() 
throws Exception {
             assertTrue(rs.next());
             assertEquals(-1.0f, rs.getFloat(1), 0.001);
         }
    +    
    +    @Test
    +    public void testSystemTableHasDoubleForExponentialNumber() throws 
Exception {
    --- End diff --
    
    @JamesRTaylor  here is a test that verifies that the internal 
representation of an exponential number is infact a Double.


> Handle e notation for defining float/double
> -------------------------------------------
>
>                 Key: PHOENIX-1814
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1814
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: Brian Esserlieu
>              Labels: Newbie
>
> We should allow a numeric literal to be defined with e notation for a 
> float/double like this: 
> {code}
> +1.5e-7
> 12E-5
> -.12345e+6789
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to