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
0000144 [uClibc] Math Library minor always 03-11-05 15:51 10-12-08 13:58
Reporter psm View Status public  
Assigned To uClibc
Priority normal Resolution fixed  
Status closed   Product Version 0.9.27
Summary 0000144: adding math functions as of current svn
Description exp2 is too big, so I have left it out for now (the glibc implementation uses
functions not in uclibc, newlib does not have it)
nexttoward is present as alias to nextafter in glibc, not done
all the rest listed in float_wrappers is done
Additional Information
Attached Files  math-susv3-no-exp2.tar.bz2 [^] (6,154 bytes) 03-11-05 15:51
 uClibc-0.9.27-susv3.patch [^] (7,764 bytes) 03-11-05 15:52
 uClibc-0.9.27-susv3-ldouble.patch [^] (14,999 bytes) 03-12-05 10:39
 uClibc-0.9.27-exp2.patch [^] (2,947 bytes) 03-12-05 10:39
 uClibc-0.9.27-nearbyint.patch [^] (3,028 bytes) 03-12-05 10:40
 uClibc-0.9.27-nexttoward.patch [^] (4,029 bytes) 03-12-05 10:40
 uClibc-0.9.27-math_priv-correction.patch [^] (4,540 bytes) 03-12-05 12:35
 uclibc-0.9.27-fpmacros.patch [^] (1,048 bytes) 04-20-05 01:46
 uclibc-0.9.27-ldouble-option.patch [^] (9,652 bytes) 04-20-05 01:47

- Relationships

- Notes
(0000081)
psm
03-11-05 15:56

consider dropping the comment/support for rem_pio2f, it was used by the Sun
implementations of sinf/cosf/tanf, but due to latest changes in svn, these
are implemented from their double counterparts
the susv3 patch removes the ceilf and floorf implementations, using
floatwrapper instead
 
(0000082)
psm
03-12-05 10:43

the ldouble patch adds long double versions (similar to float_wrapper)
corrects the fact, that llrint and llround were not built and corrects the
comment in the float_wrapper, exp2,nearbyint,nexttoward add the last missing
functions as of SuSv3
nexttoward() is an alias to nextafter in glibc, but they are different
implemented as wrapper
 
(0000083)
psm
03-12-05 12:36

the math_priv patch adds __ieee754_log2 to the list, and removes all those that
are not used. with this patch libm builds cleanly.
 
(0000178)
psm
04-20-05 01:51

fpmacros and ldouble-option (apply in this order) add UCLIBC_HAS_LONG_DOUBLE_MATH
option, and changes all the references of __NO_LONG_DOUBLE_MATH to this.
As of the current configs, only i386/m68k/sparc64/x86_64 are the archs that
have long double, so the option is limited to these
I have also added/enabled __fpclassifyl,__finitel,__singbitl,__isinfl,__isnanl
 
(0000187)
jocke
04-23-05 05:49

Had a very quick look at these patches and I think the internal
functions to the lib should be static or have attribute_hidden attached. That
will make the lib smaller, faster and won't pollute the namespace. This is
probably needed in the existing lib as well.
 
(0012704)
bernhardf
10-03-08 10:19

psm, I think that most if not all of these are done/obsolete on trunk. If something is not ok by now then please respin the patch and else please close it as fixed in 0.9.30.
 

- Issue History
Date Modified Username Field Change
03-11-05 15:51 psm New Issue
03-11-05 15:51 psm File Added: math-susv3-no-exp2.tar.bz2
03-11-05 15:52 psm File Added: uClibc-0.9.27-susv3.patch
03-11-05 15:56 psm Note Added: 0000081
03-12-05 10:39 psm File Added: uClibc-0.9.27-susv3-ldouble.patch
03-12-05 10:39 psm File Added: uClibc-0.9.27-exp2.patch
03-12-05 10:40 psm File Added: uClibc-0.9.27-nearbyint.patch
03-12-05 10:40 psm File Added: uClibc-0.9.27-nexttoward.patch
03-12-05 10:43 psm Note Added: 0000082
03-12-05 12:35 psm File Added: uClibc-0.9.27-math_priv-correction.patch
03-12-05 12:36 psm Note Added: 0000083
03-16-05 11:52 andersen Assigned To andersen => uClibc
04-20-05 01:46 psm File Added: uclibc-0.9.27-fpmacros.patch
04-20-05 01:47 psm File Added: uclibc-0.9.27-ldouble-option.patch
04-20-05 01:51 psm Note Added: 0000178
04-23-05 05:49 jocke Note Added: 0000187
10-03-08 10:19 bernhardf Note Added: 0012704
10-08-08 04:31 bernhardf Category Architecture Specific => Math Library
10-12-08 13:58 bernhardf Status assigned => closed
10-12-08 13:58 bernhardf Resolution open => fixed
10-12-08 13:58 bernhardf Fixed in Version  => 0.9.30


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker