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

Keuntae Park commented on TAJO-365:
-----------------------------------

DaeMyung, when I tested with Math.toDegrees(), it returns different value from 
what you specified in testDegrees() method in TestMathFunctions.java

{noformat}
testSimpleEval("select degrees(0.8) as col1 ", new 
String[]{"45.836624293484775"}
{noformat}

but, Math.toDegrees(0.8) returns 45.83662361046586

What makes this difference? (even though the difference is very small)


> Implement degrees/radians function
> ----------------------------------
>
>                 Key: TAJO-365
>                 URL: https://issues.apache.org/jira/browse/TAJO-365
>             Project: Tajo
>          Issue Type: Sub-task
>          Components: operator/function/udf
>            Reporter: DaeMyung Kang
>            Assignee: DaeMyung Kang
>            Priority: Minor
>         Attachments: TAJO-365.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to