Bug 59826
Summary: | library functions give floating point exceptions | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Robert M. Riches Jr. <rm.riches> | ||||||||
Component: | glibc | Assignee: | Jakub Jelinek <jakub> | ||||||||
Status: | CLOSED WONTFIX | QA Contact: | Brian Brock <bbrock> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 7.1 | CC: | fweimer | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | alpha | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2002-02-13 18:15:42 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
Robert M. Riches Jr.
2002-02-13 18:13:29 UTC
Created attachment 45563 [details]
C program source
Created attachment 45565 [details]
compilation script that shows the problem
Created attachment 45566 [details]
compilation script that shows a workaround
There is just one libm and is not multilibbed, so you really cannot have both precise results for -mieee and flushing to zero for non-mieee at the same time. I'd suggest using -mieee always (e.g. the whole RHL alpha distribution is compiled that way), or before using return values from libm functions wrapping them in some function which flushes them to zero. |