Decimal floating point numbers - first draft

This is according to FB4 roadmap - enhancement of precision of 
calculations in firebird.
You can read about decfloat datatype here: 
https://www.toadworld.com/platforms/ibmdb2/w/wiki/7700.decfloat-overview
IBM's library decNumber (has ICU license) 
http://speleotrove.com/decimal/decnumber.html is used in out implementation.

What's done:
- Added new datatypes: DECFLOAT(16) and DECFLOAT(34), using 64/128 bits 
for numbers representation.
- It can be used in all calculations, including various aggregates, 
power and logarithm,  but missing trigonometry.
- DecFloats are supported in network protocol.

What's missing:
- Use of decimal float in sort operations
- Control over rounding modes and exception raise rules (low-level 
support is included).



------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to