Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: interesting floating point problem with oracle

RE: interesting floating point problem with oracle

From: Thomas, Kevin <Kevin.Thomas_at_calanais.com>
Date: Tue, 25 Sep 2001 08:59:45 -0700
Message-ID: <F001.00397E87.20010925082024@fatcity.com>

Hmm, I get 1!

-----Original Message-----
Sent: 25 September 2001 16:35
To: Multiple recipients of list ORACLE-L

ran across something interesting on metalink.

from
Doc ID: Note:1012478.7

Problem Description


Doing floating point arithmetic involving multiplication and division causes unpredictable results. For example, if you issue the following select statement from a SQL*Plus session, the result would be "~" which is incorrect.

select 62.323/62.323 from dual;



Matt Adams - GE Appliances - matt.adams_at_appl.ge.com "Doing linear scans over an associative array is like trying to club someone to death with a loaded Uzi."

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Thomas, Kevin
  INET: Kevin.Thomas_at_calanais.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Sep 25 2001 - 10:59:45 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US