From dgoulet@vicr.com Tue, 25 Sep 2001 10:08:14 -0700 From: dgoulet@vicr.com Date: Tue, 25 Sep 2001 10:08:14 -0700 Subject: Re:interesting floating point problem with oracle Message-ID: MIME-Version: 1.0 Content-Type: text/plain Just tried that against three of my DB's, every time it came back with 1. ____________________Reply Separator____________________ Author: "Adams; Matthew (GEA; 088130)" Date: 9/25/2001 7:35 AM 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@appl.ge.com "Doing linear scans over an associative array is like trying to club someone to death with a loaded Uzi." - Larry Wall (creator of Perl) interesting floating point problem with oracle

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@appl.ge.com
"Doing linear scans over an associative array is like
trying to club someone to death with a loaded Uzi."
    - Larry Wall (creator of Perl)

-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: dgoulet@vicr.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@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).