At 09:04 AM 9/18/2002 -0400, Brian Tillman wrote:
>I successfully built Perl 5.8.0 17882 (with the configure.com patch) on
>OpenVMS VAX V7.2 with Compaq C 6.4-005.  However, when I tried to run the
>test suite, I received:
>
>t/base/cond..........................ok
>t/base/if............................ok
>t/base/lex...........................ok
>t/base/num...........................FAILED at test 47
>Failed a basic test--cannot continue.


Dunno, but here's how you go about figuring it out.  Go to the "Perl 
Repository Browser" at

<http://public.activestate.com/cgi-bin/perlbrowse>


Enter "t/base/num.t" (case sensitive) into the box labeled "File?", choose 
the radio button labeled "Show all patches to affect a file" and click on 
the "Submit" button.  You'll get a list of patch numbers, each of which is a 
link to the full patch.  The penultimate patch contains the following 
addition to num.t:

+
+$a = 0.00000000000000000000000000000000000000000000000000000000000000000001;
+print $a > 0 ? "ok 47\n" : "not ok 47\n";

You can see how this would stress the limits of D_FLOAT.  In fact it's hard 
to see how this could work with anything except possibly long doubles 
(though I haven't counted the zeroes).  You could try a G_FLOAT 
configuration and see if that gets you anywhere, but this may depend on some 
trick of IEEE floats.  So we may end up skipping the test on VAX or we may 
have something to fix in the bowels of Perl.  But that at least gets you 
started on what's changed.

Reply via email to