git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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)