[m-dev.] diff: string__format expected output for 64 bit integers

Peter Ross petdr at cs.mu.OZ.AU
Tue Aug 22 19:09:36 AEST 2000


Hi,


===================================================================


Estimated hours taken: 0.1

tests/general/string_format_test.exp2:
    Add the expected output for when an MR_Integer is represented by 64 bits.


Index: string_format_test.exp2
===================================================================
RCS file: string_format_test.exp2
diff -N string_format_test.exp2
--- /dev/null	Tue Aug 22 19:05:01 2000
+++ string_format_test.exp2	Tue Aug 22 19:04:30 2000
@@ -0,0 +1,24 @@
+First 0x20 characters of fig 1.4 in MG are
+`In the beginning there was the t'.
+First 0x1b characters of fig 1.4 in MG are
+`In the beginning there was '.
+First 0x25 characters of fig 1.4 in MG are
+`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!
+!% 10.5i!%+10.5i!% -10.5i!%+-10.5i!
+!% 10.5x!%+10.5x!% -10.5x!%+-10.5x!
+!%#10.x!%#+10.x!%#-10.x!%#+-10.x!
+
+!    -00031!    -00031!-00031    !-00031    !
+!     00031!    +00031! 00031    !+00031    !
+!    -00031!    -00031!-00031    !-00031    !
+!     00031!    +00031! 00031    !+00031    !
+!ffffffffffffffe1!ffffffffffffffe1!ffffffffffffffe1!ffffffffffffffe1!
+!     0001f!     0001f!0001f     !0001f     !
+!0xffffffffffffffe1!0xffffffffffffffe1!0xffffffffffffffe1!0xffffffffffffffe1!
+!      0x1f!      0x1f!0x1f      !0x1f      !

----
Peter Ross
PhD Student University of Melbourne
http://www.cs.mu.oz.au/~petdr/
--------------------------------------------------------------------------
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