[PATCH] c99 math func log2

Bernhard Fischer rep.dot.nop at gmail.com
Wed Nov 7 23:05:51 UTC 2007


On Thu, Nov 08, 2007 at 12:01:56AM +0100, Natanael Copa wrote:
>
>On Wed, 2007-11-07 at 19:56 +0100, Bernhard Fischer wrote:
>> On Wed, Oct 31, 2007 at 02:32:48PM +0100, Carmelo AMOROSO wrote:
>> >Natanael Copa wrote:
>> >> Hi,
>> >>
>> >> Here is a patch for the c99 math func log2(). If this gets applied I
>> >> will look into the other c99 math funcs as well.
>> >>
>> >> exp2
>> >> fdim
>> >> fma
>> >> fmax
>> >> fmin
>> >> nearbyint
>> >> nexttoward
>> >> remquo
>> >> scalbln
>> >> tgamma
>> >> trunc
>> >>
>> >> I dont know how to use the test suite. Looks like test-double is just
>> >> disabled and I never managed to get the test suite to pass. I would be
>> >> thankful if someone could give me a hint.
>> >>
>> >> -nc
>> >>   
>> >Hi Natanael,
>> >I usually run the testsuite. I'll try to integrate your patch in my code 
>> >and check the tests.
>> >I'll keep you informed.
>> 
>> Any status update, Carmelo?
>> 
>> It would be nice if any function would be exercised in the testsuite,
>> especially new ones.
>> 
>> Does it make sense to make some or all of the functions listed above
>> configurable (separately or on block)? Opinions?
>
>I noticed that there are not really any programs using log2. It would be
>nice if we could get sorted out which of the funcs that are really used
>and should be prioritized.

If we can subsummize some or individual funcs depending one a certain
standard, then all is well (see bsd-compat in e.g. network or others).
If they are non-standard but just serve as glibc-compat, then please
state so both in configury as in help-text and resubmit accordingly.

TIA,
>
>-nc
>



More information about the uClibc mailing list