Shaobo Guan created SPARK-55557:
-----------------------------------

             Summary: Hyperbolic/trigonometry functions return wrong result 
                 Key: SPARK-55557
                 URL: https://issues.apache.org/jira/browse/SPARK-55557
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.5.6
            Reporter: Shaobo Guan


Several Hyperbolic/trigonometry functions return wrong result:

 

ASINH:

Row 12 (a=1.7976931348623157E308):
actual=Infinity, expected=710.4758600739439

 

ACOSH:

Row 12 (a=1.7976931348623157E308):
Column 'out': actual=Infinity, expected=710.4758600739439

 

COT:

Row 113 (a=-0.0):
Column 'out': actual=Infinity, expected=-Infinity
Row 114 (a=0.0):
Column 'out': actual=-Infinity, expected=Infinity



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to