[m-dev.] string__format test failing on taifun

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Sep 5 02:38:57 AEDT 2000


Hi,

tests/general/string_format_test is failing on taifun,
with the following difference in the output:

*** string_format_test.exp      Sat Aug 12 01:34:49 2000
--- string_format_test.out      Mon Sep  4 15:01:24 2000
***************
*** 6,12 ****
  `In the beginning there was the text, '.
  
  Following line should have 3, 4, 1 significant figures.
! Strangly, 1.00e-00+  1.000=  2E+00
  
  
  !%0 10.5i!%0+10.5i!%0 -10.5i!%0+-10.5i!
--- 6,12 ----
  `In the beginning there was the text, '.
  
  Following line should have 3, 4, 1 significant figures.
! Strangly, 1.00e+00+  1.000=  2E+00
  
  
  !%0 10.5i!%0+10.5i!%0 -10.5i!%0+-10.5i!


The difference is the sign on the zero exponent.
It looks like the generated output, which has `+', is correct,
while the .exp file, which has `-', looks wrong to me.

Pete, could you please check that, and if I'm right, could you please
fix the .exp file?

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list