summaryrefslogtreecommitdiff
path: root/support/dktools/dk3ma.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/dktools/dk3ma.h
Initial commit
Diffstat (limited to 'support/dktools/dk3ma.h')
-rw-r--r--support/dktools/dk3ma.h72
1 files changed, 72 insertions, 0 deletions
diff --git a/support/dktools/dk3ma.h b/support/dktools/dk3ma.h
new file mode 100644
index 0000000000..d0c87c8816
--- /dev/null
+++ b/support/dktools/dk3ma.h
@@ -0,0 +1,72 @@
+
+#ifndef DK3MA_H_INCLUDED
+#define DK3MA_H_INCLUDED 1
+
+#include <dk3conf.h>
+
+#include <stdio.h>
+#if DK3_HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#if DK3_HAVE_STDINT
+#include <stdint.h>
+#endif
+#if DK3_HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
+#if DK3_HAVE_LIMITS_H
+#include <limits.h>
+#endif
+#if DK3_HAVE_MATH_H
+#include <math.h>
+#endif
+#if DK3_HAVE_FLOAT_H
+#include <float.h>
+#endif
+
+
+#include <dk3types.h>
+#include <dk3numco.h>
+#include <dk3const.h>
+
+
+
+#include <dk3mas.h>
+#include <dk3maus.h>
+#include <dk3mai.h>
+#include <dk3maui.h>
+#include <dk3mal.h>
+#include <dk3maul.h>
+#include <dk3mad.h>
+#include <dk3madsc.h>
+#include <dk3madic.h>
+#include <dk3madlc.h>
+#include <dk3maid8.h>
+#include <dk3maih8.h>
+#include <dk3maidd.h>
+#include <dk3maihd.h>
+#include <dk3maod8.h>
+#include <dk3maoh8.h>
+#include <dk3maodd.h>
+#include <dk3maohd.h>
+#include <dk3madfo.h>
+#include <dk3madso.h>
+#include <dk3madsi.h>
+
+
+
+/* Yes, there are systems without M_PI or M_PI_2 in math.h */
+
+#ifndef M_PI
+/** Define pi if not already defined in math.h */
+#define M_PI (3.14159265358979323846)
+#endif
+#ifndef M_PI_2
+/** Define 0.5 * pi if not already defined in math.h */
+#define M_PI_2 (1.57079632679489661923)
+#endif
+
+
+
+#endif
+