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
author: kx <kx@radix-linux.su> 2024-12-20 16:11:07 +0300 committer: kx <kx@radix-linux.su> 2024-12-20 16:11:07 +0300 commit: 868b2b66b564b5c00e3a74d10be45db7151627ac parent: cce2ae8d3312493b7653358bb4af201d3271377b
Commit Summary:
Version 1.0.14
Diffstat:
1 file changed, 42 insertions, 0 deletions
diff --git a/mpu/mpu-char.h b/mpu/mpu-char.h
new file mode 100644
index 0000000..be31080
--- /dev/null
+++ b/mpu/mpu-char.h
@@ -0,0 +1,58 @@
+
+/***************************************************************
+  __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 */