Changes between Version 16 and Version 18 of Ticket #9543


Ignore:
Timestamp:
01/04/13 17:09:59 (9 years ago)
Author:
kcrisman
Comment:

Replying to stephen:

Regarding testing the cephes library - I don't think it is fair to expect them to give super accurate answers. I believe that the linux library functions will fail in the same way. Same with OpenBSD.

I'm not sure anyone was suggesting doing this, just to at least provide such functions on Cygwin.

Anyway, all this is to say that you shouldn't hold the cephes libraries up to any kind of high standard. Treat them as work arounds so that ccosh and such like will actually be compiled into sage on FreeBSD, rather that the answers should be particularly accurate.

Hopefully that is all we are asking for! I'm going to change the description to point out that we really just want this.


So... would you mind checking (at your convenience) whether this spkg indeed does the same thing as the patches from before and at your port? Then if it works on Cygwin (i.e., if Cygwin doesn't need it) we can merge this and simplify things slightly.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9543

    • Property Status changed from new to needs_review
    • Property Summary changed from Enable cephes on FreeBSD to Enable cephes on FreeBSD and disable it on Cygwin
  • Ticket #9543 – Description

    v16 v18  
    11FreeBSD does not currently have a full C99 libm and therefore also needs cephes.  The attached patch enables cephes on FreeBSD, enables error checking and renames the long double gamma() functions in line with C99.  The latter two components are applicable to Cygwin as well as FreeBSD.
    22
     3Spkg at http://boxen.math.washington.edu/home/jpflori/cephes-2.8.p0.spkg
     4
     5
     6----
     7
     8Additional comments for perusal in the future:
     9
    310A number of areas still need work - in particular some of the cephes self tests have been removed and some of the other self tests fail (at least some of the failures reflect bugs in cephes).  Suitable self-tests and a spkg-check script need to be developed.  It's possible mpfr could be used as a reference library.
    4 
    5 Spkg at http://boxen.math.washington.edu/home/jpflori/cephes-2.8.p0.spkg