glibc floating point math functions provide slightly different results between RHEL major releases
Issue
exp2f()provides different results in RHEL 7 and RHEL 8- We have identified a difference in behavior in
libmprovided by glibc between the version on RHEL 7 (glibc 2.17) and the version on RHEL8 (glibc-2.28). It's a small difference in precision of theexp2f()function; it's so small that it's within the limit of precision of glibc, so it's not an error. - glibc EXP function calculates a different result between RH7 and RH8 and back again in RH9
Environment
- Red Hat Enterprise Linux
- Red Hat Enterprise Linux
- GNU C Library
glibcfloating point math functions inlibm
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.