in reply to Re: 64-bit build fails numeric tests
in thread 64-bit build fails numeric tests

I find it odd that a 64-bit build uses double-precision numbers, but I don't know if that's unusual or wrong

Looking at the INSTALL file that ships with the perl source, it appears that -Duse64bitall switches on 64 bit ints and longs, and the use of 64bit pointers ... but doesn't switch on -Duselongdouble. If you want the extra precision that -Duselongdouble provides it seems that you have to specify either -Duselongdouble or -Dusemorebits.

It could be interesting to know if there were any compiler flags (other than the ones already stated) specified by the OP.

Cheers,
Rob

Replies are listed 'Best First'.
Re^3: 64-bit build fails numeric tests
by eshafto (Novice) on Feb 02, 2010 at 16:23 UTC

    Rob,

    Adding -Duselongdouble seems to have fixed the problem. I suspect I shall have to spend more time trying to figure out exactly what 64-bit features I need and exactly how to get those and no others. But at least now I have a consistent, working build.

    Thanks to you and everyone who contributed to the thread.