]
Steven Hawkins resolved TEIID-4965.
-----------------------------------
Resolution: Rejected
Negative 0 is an appropriate result given that the float/double type follow IEEE 754
Google translator returns -0.0 for negative double multiplied by 0
------------------------------------------------------------------
Key: TEIID-4965
URL:
https://issues.jboss.org/browse/TEIID-4965
Project: Teiid
Issue Type: Bug
Affects Versions: 9.3
Reporter: Lucie Fabrikova
Assignee: Steven Hawkins
Following query returns -0.0 for negative doublenum values:
SELECT (DoubleNum*0) AS DoubleNumTimes0 FROM BQT1.SmallA
- type in vdb: doublenum double OPTIONS (NATIVE_TYPE 'NUMBER')