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: floating point and Sun T2000

RE: floating point and Sun T2000

From: Christian Antognini <Christian.Antognini_at_trivadis.com>
Date: Fri, 5 May 2006 19:33:55 +0200
Message-ID: <F2C9CCA71510B442AF71446CAE8AEBAF3F5B21@MSXVS04.trivadis.com>


Ray

>and I thought CBO computations included fractions ... isn't that
>floating point arithmatic?

Of course there are lot of floating point computations. But, as I understand, the OP was interested in floating point computations that are performed directly by the CPU (otherwise, IMHO, the question makes no sense...).

Since the internal format of the NUMBER datatype (and all others based on it) is oracle specific, either: 1) they implemented it without taking advantage of the capabilities of the CPU, i.e. they have a library that is platform independent doing such computations or
2) they convert the NUMBER values to CPU-dependent floating point numbers (probably IEEE 754 conform) before sending them to the CPU

As of 10g through BINARY_FLOAT and BINARY_DOUBLE they support IEEE 754 numbers. With them is highly probable that the floating point computations are directly performed by the CPU. For this reason, in 10g, computations done on BINARY_FLOAT and BINARY_DOUBLE values are much faster than the same computations done on NUMBER values.

Regards,
Chris

--
http://www.freelists.org/webpage/oracle-l
Received on Fri May 05 2006 - 12:33:55 CDT

Original text of this message

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