> There are no functions missing from libm. libm provides all of the
> functions needed to support the standards to which Solaris and the
> programming environments offered by the Studio compilers conform.
> In some cases, libm provides extra functions for historical reasons,
> such as functions that were in libm under SunOS 4.x or functions that
> were originally in libc but are actually supplied by the floating
point group.

Many of the "functions" mentioned above are not functions but macros,
as dictated by C99.  Others are Sun-specific entry points provided
in libsunmath, which the submitter says she does not want to use.
All can be implemented easily in C99 as functions (under different
names).  Applications that require such functions can therefore supply
their own versions.

What effect are you hoping for by having me reopen the bug?

So far it seems like a new feature request.  I'd be glad
to attach more information to the CR if you have



ольга крыжановская wrote:
> Chris, could you reopen the bug, please? I think Glenn has provided
> enough details why we need it and other programming languages like
> perl would benefit from it well, too.

Just reopening the CR will probably not accomplish what you are seeking.

I would be glad to add some additional information to make it clear
what the benefit is.

If you could write a short summary of why this is important, with some
sort of specific measurement of the performance gain, I'd be glad to
add that information to the CR.

Part of the blame is mine, because I filed the CR for you without first
asking you for a justification about why it's important.

For better or for worse, we're talking about libraries (libm and libsunmath)
that are closed source.  The only people who can work on it are Oracle
employees and that team needs a justification for the work, and they have
their own priorities.

A measurable performance improvement in perl and/or ksh93 would be a good
motivation.  I think it would be even better if you could show how the
perl and ksh93 features that benefit are features that are actually used
by important ksh93 and perl programs.

--chris





> 
> Olga
> 
> 2010/5/26 ольга крыжановская <olga.kryzhanov...@gmail.com>:
>> Thank you for filing the bug.
>>
>> I see it has been closed as will not fix. Why? AFAIK all C99 functions
>> must be available as float, double and long double functions, or not?
>>
>> Olga
>>
>> 2010/5/24 Chris Quenelle <chris.quene...@oracle.com>:
>>> If you are requesting general additions to libm, that sounds like it's
>>> almost completely unrelated to phasing out libsunmath.
>>> It would be helpful to start a new email thread, and introduce
>>> your new topic with a summary.
>>>
>>> The email that you responded to was asking for a set of
>>> libsunmath functions that existing libsunmath users found
>>> useful.  It was not a general request for libm RFEs.
>>>
>>> I have filed a libm RFE for you.
>>> 6955163 request for additional libm functions
>>>
>>> It should be visible on bugs.sun.com within a few days.
>>>
>>> --chris
>>>
>>>
>>>
>>> ольга крыжановская wrote:
>>>> Useful functions would be long double versions of the existing C99
>>>> functions. We (the ksh93 integration team) found that several
>>>> functions are missing in libm and require to add substitute wrappers.
>>>> Using libsunmath is unfortunately not an option because it breaks the
>>>> gcc build of ON.
>>>> Currently these function are either not available in libm, not
>>>> available in versions taking long double as argument or not available
>>>> as function pointers:
>>>> finite
>>>> fpclassify
>>>> isfinite
>>>> isgreater
>>>> isgreaterequal
>>>> isinf
>>>> isless
>>>> islessequal
>>>> islessgreater
>>>> isnormal
>>>> issubnormal
>>>> isunordered
>>>> iszero
>>>> signbit
>>>>
>>>> Olga
>>>>
>>>> 2009/10/23 Chris Quenelle <chris.quene...@sun.com>:
>>>>> ольга крыжановская wrote:
>>>>>> Can you merge libsunmath into libm?
>>>>>>
>>>>> If we could identify the useful functions, we could
>>>>> move those into libm.  Or some other more appropriate library.
>>>>>
>>>>> --chris
>>>>>
>>>>
>>>>
>>>
>>
>>
>> --
>>      ,   _                                    _   ,
>>     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
>> .----'-/`-/     olga.kryzhanov...@gmail.com   \-`\-'----.
>>  `'-..-| /       http://twitter.com/fleyta     \ |-..-'`
>>      /\/\     Solaris/BSD//C/C++ programmer   /\/\
>>      `--`                                      `--`
>>
> 
> 
> 

_______________________________________________
ksh93-integration-discuss mailing list
ksh93-integration-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/ksh93-integration-discuss

Reply via email to