PL/SQL Shows Wrong Result When Multiplying A BINARY_DOUBLE by "-1"
Last updated on DECEMBER 25, 2016
Applies to:PL/SQL - Version 126.96.36.199 to 188.8.131.52 [Release 11.2 to 12.1]
Information in this document applies to any platform.
*** Checked for relevance on 26th Dec 2016 ***
PL/SQL shows wrong result when multiplying a BINARY_DOUBLE by "-1". Multiplying by other values like -2 or -1.0001 etc returns correct value.
Following code illustrates the issue.
Upgraded database from lower version to 11.2.0.x or 12.1.0.x or newly implemented a code that multiples binary double with -1 value.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms