1.1 Introduction

The MISC1 (and the other basic lower-level processing packages) contain libraries for bit pattern and character processing, system-dependent libraries such as file input/output, and libraries for handling dates and time which cannot be processed by straightforward mathematical routines. Below are the libraries contained in MISC1.

  BITLIB: Bit-Pattern Processing. * # C
  CHGLIB: Upper-Lower Case Character Conversion. * # C
  CHKLIB: Character Type Recognition. *    
  CHNLIB: Substitution of Character Strings. *    
  FMTLIB: Conversion of Numeric Values to Character Strings. *    
  DATELIB: Handling of Dates. * # D(C)
  TIMELIB: Handling of Time. * # D(C)
  MISCLIB: Miscellaneous Functions and Subroutines. * # FC
  CLCKLIB: Handling of CPU Time.   # C
  FIOLIB: File Input and Output.   #  
  RANDLIB: Pseudo Random Numbers.   # FC
  HEXLIB: Processing Hexadecimal Constants.      
  REALLIB: Conversion of Floating-Point Numbers.      


Here, the symbols *, #, F, C, and D have the following meanings.

*: 
Packages required for executing libraries not contained in misc1.
 
#: 
Contains machine-dependent subroutines.
 
D: 
Those for which the machine-dependent subroutines can be treated as dummy routines without resulting in any serious trouble.
 
F:
Those for which FORTRAN prototypes (non-machine-dependent codes) corresponding to the machine-dependent subroutines are provided.
 
C:
Those for which functions in C corresponding to the machine-dependent subroutines are provided.
 

See the following chapters for details.

Please note that in the following sections, the contents handled by the MISC1 package are outlined in contexts of representations of characters and numbers used within the computer and file structures that are sets of characters and numbers.