| Anonymous | Login | Signup for a new account | 11-10-2008 11:18 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| 0001452 | [uClibc] Architecture Specific | minor | always | 07-31-07 05:55 | 08-01-07 10:19 | |||||||
| Reporter | chmeee | View Status | public | |||||||||
| Assigned To | uClibc | |||||||||||
| Priority | normal | Resolution | open | |||||||||
| Status | assigned | Product Version | 0.9.28.1 | |||||||||
| Summary | 0001452: rint() bad on x86. | |||||||||||
| Description |
On x86 with Linux uclibc's rint() function returns bad results. This was tracked down to Linux's defaulting to 80-bit floating point rounding, and uclibc's 64-bit function. There are two ways of dealing with this: 1) Reset FPU to 64-bit precision. 2) Import glibc's functions for this and its variants. I'm currently working on doing the latter in my personal tree, and will submit a patch when I finish. |
|||||||||||
| Additional Information | This makes PostgreSQL's regression test fail. | |||||||||||
| Attached Files |
|
|||||||||||
|
|
||||||||||||
Notes |
|
|
(0002647) chmeee 08-01-07 10:19 |
The attached diff fixes the rint() functions by importing the glibc code for them. |
| Copyright © 2000 - 2006 Mantis Group |