This is the mail archive of the cygwin mailing list for the Cygwin 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 Perl and -Duselongdouble

On Thu, July 26, 2007 5:19 am, Corinna Vinschen wrote:
> On Jul 26 22:09, Sisyphus wrote:

>> I'd like to have a perl on Cygwin built with -Duselongdouble, so I tried

>> *** You requested the use of long doubles but you do not seem to have
>> *** the following mathematical functions needed for long double support:
>>  ***     sqrtl modfl frexpl
> Long double functions are not supported by newlib so far.  There are a
> couple of C99 functions not available in newlib.  Volunteers implementing
> these functions in a license compatible way (BSD, not GPL) in newlib are
> always welcome.

Note that changing perl to use long doubles is a binary incompatible change.
So if anyone is going to jump on this, it would be nice to have it happen
before the already incompatible 5.10 is out Septemberish.

modfl isn't strictly necessary; perl will substitute aintl (a solaris
flavor of truncl) + copysignl.
And ilogbl + scalbnl can be used to emulate frexpl.

Unsubscribe info:
Problem reports:

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