added check for consistency of numeric input/output routines