Changes between Version 16 and Version 18 of Ticket #9543

01/04/13 17:09:59 (9 years ago)

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.


  • 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.
     3Spkg at
     8Additional comments for perusal in the future:
    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.
    5 Spkg at