12 character(16),
intent(out) :: mendian
13 INTEGER,
PARAMETER :: ASCII_0 = 48,ascii_1 = 49,ascii_2 = 50, &
18 i = ascii_0 + ascii_1*256 + ascii_2*(256**2) + ascii_3*(256**3)
29 character(16),
intent(out) :: mendian
33 if(i .eq.
'0123')
then
34 mendian=
'little_endian'
36 elseif (i .eq.
'3210')
then
40 mendian=
'mixed_endian'
subroutine chk_endianc(mendian)
Obtain machine endianness.
subroutine findendian(mendian)
Obtain machine endianness.