Erik Bray wrote:
> On Thu, Aug 11, 2016 at 2:17 PM, Dima Pasechnik <dimp...@gmail.com> wrote:
>>> FWIW, on Cygwin we used to use the Cephes library for a while.  (No idea
>>> whether it now replaced libm or parts of it got merged into libm
>>> upstream, or none of that.)
>>>
>>> But the result you get presumably also depends on whether libm was
>>> compiled with -mfpmath=sse or -mfpmath=387 etc.
>>>
>> not sure about this; cygwin uses libm from something called newlib, which is
>> mostly developed by Sun some 20+ years ago.
>> So it's pretty much non-optimised for particular hardware.
>> Although they keep adding more stuff to it even now, cf. e.g.
>> https://sourceware.org/ml/newlib-cvs/2016-q1/msg00046.html
> 
> Yup, that's why I wrote "libc" at some point--just because newlib
> incorporates both libc and libm so it's easy to think of them as part
> of the same library.  I have no idea how it is configured.
> 
> One major disadvantage to it is it is still missing most double
> complex functions which creates a lot of hassle, though that's an
> orthogonal issue.

Lacking (at least some) C99 functions (especially long double versions
of the gamma functions) was the reason to include and use Cephes on
Cygwin, but that was years ago.  (It's no longer built on Cygwin since
about four years, cf. #9543.)


-leif


-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to