Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
40
Добавлен:
16.04.2013
Размер:
4.96 Mб
Скачать

Representing Numeric Data with Number and Floating-Point Datatypes

Client Interfaces for Native Floating-Point Datatypes

Support for native floating-point datatypes is implemented in the following client interfaces:

SQL

PL/SQL

OCI

OCCI

Pro*C/C++

JDBC

SQL Native Floating-Point Datatypes

The SQL datatypes BINARY_FLOAT and BINARY_DOUBLE implement native floating-point datatypes in the SQL environment. A number of SQL functions are provided that operate on these datatypes. BINARY_FLOAT and BINARY_DOUBLE are supported wherever an expression (expr) appears in SQL syntax.

See Also: Oracle Database SQL Reference for details on SQL functions and the implementation of these datatypes

OCI Native Floating-Point Datatypes SQLT_BFLOAT and SQLT_BDOUBLE

The Oracle Call Interface (OCI) application programming interface (API) implements the IEEE 754 single precision and double precision native floating-point datatypes with the datatypes SQLT_BFLOAT and SQLT_BDOUBLE respectively.

Conversions between these types and the SQL types BINARY_FLOAT and BINARY_ DOUBLE are exact on platforms that implement the IEEE 754 standard for the C datatypes float and double.

See Also: Oracle Call Interface Programmer's Guide

Native Floating-Point Datatypes Supported in Oracle OBJECT Types

The SQL datatypes BINARY_FLOAT and BINARY_DOUBLE are supported as attributes of Oracle OBJECT types.

2-18 Oracle Database Application Developer's Guide - Fundamentals

Соседние файлы в папке Oracle 10g