Files
mercury/tests/general/string_format_test.exp3
Peter Ross 10781e098d Adapt the tests in the general directory so that the version of the
Estimated hours taken: 0.25

Adapt the tests in the general directory so that the version of the
Mercury compiler built with MSVC passes them in the hlc.gc grade.

float_test.exp2:
string_format_test.exp3:
    The MSVC runtime prints out floating points using three digits for
    the exponent.
2001-02-06 15:28:50 +00:00

25 lines
849 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+001+ 10.000= 2E+001
!%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 !
! ffffffe1! ffffffe1!ffffffe1 !ffffffe1 !
! 0001f! 0001f!0001f !0001f !
!0xffffffe1!0xffffffe1!0xffffffe1!0xffffffe1!
! 0x1f! 0x1f!0x1f !0x1f !