Math Processor Unit Library

libmpu – library of arithmetic functions for integer, real, and complex numbers of increased digit capacity

16 Commits   0 Branches   2 Tags

/***************************************************************
  __MPU_CHAR.H

       This is config file for characters operations .

       PART OF : MPU - library .

       USAGE   : Internal only .

       NOTE    : Include "libmpu.h" before this FILE .

       Copyright (C) 2000 - 2024  by Andrew V.Kosteltsev.
       All Rights Reserved.
 ***************************************************************/

#ifndef   __MPU_CHAR_H
#define   __MPU_CHAR_H

/***  character names  *****************************************/

#define NUL            '\0'    /*  the null character  */
#define NEWLINE        '\n'    /*  line feed           */
#define SP             ' '     /*  space               */
#define BELL           '\a'    /*  bell (alert)        */
#define BS             '\b'    /*  backspace           */
#define HT             '\t'    /*  horizontal tab      */
#define VT             '\013'  /*  vertical tab        */
#define CR             '\r'    /*  carriage return     */
#define FF             '\f'    /*  form feed           */
#define QUOTE          '\''    /*  single quote        */
#define DOUBLE_QUOTE   '\"'    /*  double quote        */
#define BACKSLASH      '\\'    /*  backslash           */
#define SLASH          '/'     /*  slash               */

#define DOLLAR         '$'     /*  dollar sign         */

/***  duplicate character names  *******************************/
/***  Define results of standard character escape sequences.  **/
#define TARGET_NEWLINE  012    /*  line feed           */
#define TARGET_BELL     007    /*  bell (alert)        */
#define TARGET_BS       010    /*  backspace           */
#define TARGET_TAB      011    /*  horizontal tab      */
#define TARGET_VT       013    /*  vertical tab        */
#define TARGET_CR       015    /*  carriage return     */
#define TARGET_FF       014    /*  form feed           */


#ifdef  __cplusplus
extern "C" {
#endif


#ifdef  __cplusplus
}   /* ... extern "C" */
#endif

#endif /* __MPU_CHAR_H */