This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

decimal floating point


Hi,

I am investigating the possibilities of using decimal floating point
arithmetic with gcc (on Linux / x86_64 to be explicit).
Are _Decimal32/_Decimal64/_Decimal128 available as builtin types without
further action or do i as a DFP consumer have to issue the correspondent
typedef/float/attributeS by myself (as is done in the testcases and the
std::decimal headerS)?
How do i convert _Decimal32/_Decimal64/_Decimal128/std::decimal from/to
string/char* (and do cout/stdout I/O)?
Can the (internal?) std::decimal method __getval (giving one of
_Decimal32/_Decimal64/_Decimal128) be used by me as a user?
Are there plans to add DFP support to glibc?
Are there good examples out there showing the superiority of DFP
arithmetic over ordinary (binary) FP arithmetic in the domain of
monetary calculations?

Many thanks in advance

Franz





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]