home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC96938 Status: Geschlossen

FLOATING POINT TO DECIMAL CONVERSION IN ORA MODE CAN RESULT IN LESS
ACCURATE RESULTS FOR NUMBERS WITH LARGE SCALE

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
This APAR is done in v97 only as a temporary internal workaround 
for a specific customer. This APAR is not a problem and can be 
ignored by any users. 
 
As per IEEE 754 standard for floating point datatypes, floating 
point numbers are a binary approximation of an actual number. 
As such, when these datatypes are stored, there is potential for 
a loss of accuracy. For some numbers, in particular 
(but not limited to) those numbers that have a large amount of 
scale digits, this gives a number that may lose the 
precision and accuracy that is needed in some applications. 
 
In DB2, the floating point datatypes are DOUBLE, FLOAT, and REAL 
(see documentation about DB2 datatypes). If having precision and 
accuracy is required for the application, then it is not 
recommended to use floating point types, and the DECIMAL or 
DECFLOAT datatype should be used instead. 
 
This APAR provides an alternate approach from float to decimal 
for some numbers that are suffering from the 
binary approximation accuracy concerns. 
 
Since this is a behaviour change in how floating point numbers 
are treated by DB2, this change is not provided for general use. 
 If this APAR is required, then please contact DB2 support team, 
who can provide guidance on how to enable this alternate mode 
for converting floating point types to DECIMAL.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 9.7 Fix Pack 9                        * 
****************************************************************
Local-Fix:
Lösung
First fixed in Version 9.7 Fix Pack 9
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
16.10.2013
10.11.2014
07.05.2015
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.FP9
Problem behoben lt. FixList in der Version
9.7.0.10 FixList