printf of long double with a value of 0 results in "nan"

Solution Verified - Updated -

Issue

  • After glibc-2.17-322.el7_9.x86_64 upgrade printf of long double with a value of 0, produces nan(printing non-long doubles, or long double with value other than 0 seem fine).
  • Application which are running C code are facing issues after glibc was updated to version glibc.x86_64 2.17-322.el7_9.

Environment

  • Red Hat Enterprise Linux 7.9
  • glibc-2.17-322.el7_9.x86_64

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