Add routines for integer byte order conversions, floating point format
authorBen Pfaff <blp@gnu.org>
Sat, 28 Oct 2006 04:01:54 +0000 (04:01 +0000)
committerBen Pfaff <blp@gnu.org>
Sat, 28 Oct 2006 04:01:54 +0000 (04:01 +0000)
commitf89de8c330e8f82f0e7195c4d35588cfcbdd02fc
treee319d8f26cbbc275f0a596936e4f0d6bb4c61de3
parente070d7ddf78446b9852c61c9af84ad3659bac3b3
Add routines for integer byte order conversions, floating point format
and byte order conversions, and ASCII<->EBCDIC conversion.  Also add
an extensive floating point format conversion test.

The ASCII<->EBCDIC conversion used by SPSS does not correspond exactly
to any found in GNU libiconv, hence the need for a separate library.

These routines are a small part of a larger change set that I'm
breaking up for gradual submission.  Thus, they aren't used by much
yet.
19 files changed:
Smake
src/language/ChangeLog
src/language/command.def
src/language/lexer/ChangeLog
src/language/lexer/lexer.c
src/language/tests/ChangeLog
src/language/tests/automake.mk
src/language/tests/float-format.c [new file with mode: 0644]
src/libpspp/ChangeLog
src/libpspp/automake.mk
src/libpspp/float-format.c [new file with mode: 0644]
src/libpspp/float-format.h [new file with mode: 0644]
src/libpspp/integer-format.c [new file with mode: 0644]
src/libpspp/integer-format.h [new file with mode: 0644]
src/libpspp/legacy-encoding.c [new file with mode: 0644]
src/libpspp/legacy-encoding.h [new file with mode: 0644]
tests/ChangeLog
tests/automake.mk
tests/formats/float-format.sh [new file with mode: 0755]