| Store | Cart

Re: [perl #123113] [PATCH] Add optional GCC-only support for using long doubles on Win32

From: Steve Hay <stev...@googlemail.com>
Thu, 27 Nov 2014 09:02:12 +0000
On 27 November 2014 at 03:46,  <sisy...@optusnet.com.au> wrote:
>> Steve, here's another little glitch that I've come across.> On the 32-bit build of 5.21.6:>> C:\>perl -V:nvtype> nvtype='long double';>> C:\>perl -V:nvsize> nvsize='12';>> C:\>perl -MPOSIX -le "$x=POSIX::strtold('12345.1');"> POSIX::strtold not implemented on this architecture at -e line 1.>> C:\>>> On the 64-bit build of 5.21.6 (where nvsize is set incorrectly) it's the> same message:>> C:\>perl -V:nvtype> nvtype='long double';>> C:\>perl -V:nvsize> nvsize='12';>> C:\>perl -MPOSIX -le "$x=POSIX::strtold('12345.1');"> POSIX::strtold not implemented on this architecture at -e line 1.>>> AFAIK, POSIX::strtold() should have been implemented for these perls.>

I think that must be a gremlin lurking in POSIX.pm/xs. I made the
appropriate configuration changes for perl itself, which you can
confirm with:

perl -V:d_strtold

Assuming that prints 'define' as it should then it's just POSIX that
needs some work.

Recent Messages in this Thread
sisy...@optusnet.com.au Nov 27, 2014 03:46 am
Steve Hay Nov 27, 2014 09:02 am
Steve Hay Nov 27, 2014 09:10 am
Steve Hay Nov 27, 2014 02:13 pm
Messages in this thread