On Tue, Jun 11, 2002 at 10:44:31PM -0500, Craig A. Berry wrote:
> ext/XS/APItest exposed our conflation on VMS of *having* long doubles and *using* 
>long doubles, or at least the print_long_double function expects to be able to print 
>long doubles even if Perl isn't using them.  The following gives it what it wants and 
>gets all tests passing with a -des configuration on OpenVMS Alpha 7.3, Compac C 6.5.

The current state of the test is as follows:

#ifdef HAS_LONG_DOUBLE
#   if defined(PERL_PRIfldbl) && (LONG_DOUBLESIZE > DOUBLESIZE)
        long double val = 7.0;
        printf("%5.3" PERL_PRIfldbl "\n",val);
#   else
        double val = 7.0;
        printf("%5.3f\n",val);
#   endif
#endif

How does this look with your patch?

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Reply via email to