This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin's libm support for cbrtl/sqrtl


On 9/6/2010 4:55 AM, Tobias Burnus wrote:
Hi Angelo, hello Dave and Christopher,

Dave and Christopher: Angelo sees the following failure with Cygwin, cf. http://gcc.gnu.org/ml/fortran/2010-09/msg00142.html

Thus, my question is: Are those functions (cbrtl, sqrtl) indeed unimplemented in Cygwin? Or exists there some Cygwin libm which contains them?
I assume they are missing because they are listed as such at http://www.cygwin.com/cygwin-api/std-notimpl.html - however, I do not know whether that page is outdated.


On 09/06/2010 12:33 AM, Angelo Graziosi wrote:
/tmp/libquad/src/math/cbrtq.c:26: undefined reference to `_cbrtl'
/tmp/libquad/src/math/sqrtq.c:26: undefined reference to `_sqrtl'

The library to which requires those functions is linked to at http://gcc.gnu.org/ml/fortran/2010-08/msg00499.html


Tobias
Cygwin doesn't have any TFmode support, beyond what you get by side effects (such as compiling sqrt() with no SSE2 option, or writing these functions in your own <mathinline.h>). <float.h> will tell you that (or give you wrong results, depending on your point of view).

--
Tim Prince


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]