BusyBox Bug and Patch Tracking
BusyBox
  

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  uclibc_fp_fix.diff [^] (4,593 bytes) 08-01-07 10:18

- Relationships

- Notes
(0002647)
chmeee
08-01-07 10:19

The attached diff fixes the rint() functions by importing the glibc code for them.
 

- Issue History
Date Modified Username Field Change
07-31-07 05:55 chmeee New Issue
07-31-07 05:55 chmeee Status new => assigned
07-31-07 05:55 chmeee Assigned To  => uClibc
08-01-07 10:18 chmeee File Added: uclibc_fp_fix.diff
08-01-07 10:19 chmeee Note Added: 0002647


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker