01.02.2018 16:30, Alex Peshkoff via Firebird-devel wrote:
Point taken, but my suggestion was more that we now don't utilize the Decimal128 to its
fullest for decimal, and users of the direct API now need to handle decfloat and
decimal(19+, x) in a very different manner even though the underlying datatype is the
same (and provides the convenient feature to communicate the scale inline).
Damned, I still do not catch where is the problem. I reviewed ISQL code - we have DecFixed
interface that provides conversion to/from strings and BCD. And it's implementation is
less that once screen of a code.
It is exactly one screen more than necessary. SQL_DEC16 and SQL_DEC34 covers whole
possible set of values. SQL_DEC_FIXED is just unnecessary and there is no point to have it
at API level at all.
--
WBR, SD.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel