Cygwin's libm support for cbrtl/sqrtl
Tim Prince
n8tm@aol.com
Mon Sep 6 15:01:00 GMT 2010
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
More information about the Fortran
mailing list