You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Pindikura Ravindra (JIRA)" <ji...@apache.org> on 2018/12/10 18:36:00 UTC

[jira] [Created] (ARROW-3991) [gandiva] floating point division shouldn't cause errors

Pindikura Ravindra created ARROW-3991:
-----------------------------------------

             Summary: [gandiva] floating point division shouldn't cause errors
                 Key: ARROW-3991
                 URL: https://issues.apache.org/jira/browse/ARROW-3991
             Project: Apache Arrow
          Issue Type: Bug
          Components: Gandiva
            Reporter: Pindikura Ravindra
            Assignee: Pindikura Ravindra


for division, gandiva explicitly checks if the divisor is zero and raises an error.

This is correct for integer division. For float point divisions, it should just return infinity.

https://www.gnu.org/software/libc/manual/html_node/Infinity-and-NaN.html#Infinity-and-NaN



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)