Files
mercury/tests/general/string_format_test.exp2
Peter Ross db5c3ddd20 Avoid a problem where exponents can be represented by -00 or +00, by
Estimated hours taken: 0.25

string_format_test.exp:
string_format_test.exp2:
string_format_test.m:
    Avoid a problem where exponents can be represented by -00 or +00, by
    changing the numbers to have a non-zero exponent.
2000-09-11 12:26:58 +00:00

25 lines
903 B
Plaintext

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+01+ 10.000= 2E+01
!%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 !