[uClibc 0000144]: adding math functions as of current svn

bugs at busybox.net bugs at busybox.net
Wed Oct 8 11:31:43 UTC 2008


The following issue has been UPDATED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=144 
====================================================================== 
Reported By:                psm
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   144
Category:                   Math Library
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             03-11-2005 15:51 PST
Last Modified:              10-08-2008 04:31 PDT
====================================================================== 
Summary:                    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
====================================================================== 

---------------------------------------------------------------------- 
 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 

---------------------------------------------------------------------- 
 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 

---------------------------------------------------------------------- 
 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. 

---------------------------------------------------------------------- 
 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 

---------------------------------------------------------------------- 
 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. 

---------------------------------------------------------------------- 
 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
======================================================================




More information about the uClibc-cvs mailing list