Does Red Hat Developer Toolset GCC compiler provide DPD (Densely Packed Decimal) or BID (Binary Integer Decimal) floating point?

Solution Verified - Updated -

Issue

  • Does Red Hat Developer Toolset GCC compiler provide DPD (Densely Packed Decimal) or BID (Binary Integer Decimal) floating point?
  • We need to use decimal arithmetic and would like to use the GCC support for decimal float, however this requires the --enable-decimal-float=dpd option when GCC itself is built.
  • Do Red Hat provide builds of GCC with this enabled? Presumably this would also need to be enabled within the libstdc++ library build as well.
  • Is there support for BCD (Binary Coded Decimal) in the GCC compiler?

Environment

  • Red Hat Developer Toolset
  • Code with decimal floating point

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content