Mercurial > hg > orthanc
comparison Resources/WebAssembly/arith.h @ 2510:04873915beaf
configuration of DCMTK for WebAssembly
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 28 Mar 2018 14:14:37 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2509:9d9f2d088dce | 2510:04873915beaf |
---|---|
1 /** | |
2 #define SIZEOF_CHAR 1 | |
3 #define SIZEOF_DOUBLE 8 | |
4 #define SIZEOF_FLOAT 4 | |
5 #define SIZEOF_INT 4 | |
6 #define SIZEOF_LONG 4 | |
7 #define SIZEOF_SHORT 2 | |
8 #define SIZEOF_VOID_P 4 | |
9 #define C_CHAR_UNSIGNED 0 | |
10 **/ | |
11 | |
12 | |
13 #ifndef CONFIG_ARITH_H | |
14 #define CONFIG_ARITH_H | |
15 | |
16 #define DCMTK_SIGNED_CHAR_DIGITS10 2 | |
17 #define DCMTK_UNSIGNED_CHAR_DIGITS10 2 | |
18 #define DCMTK_SIGNED_SHORT_DIGITS10 4 | |
19 #define DCMTK_UNSIGNED_SHORT_DIGITS10 4 | |
20 #define DCMTK_SIGNED_INT_DIGITS10 9 | |
21 #define DCMTK_UNSIGNED_INT_DIGITS10 9 | |
22 #define DCMTK_SIGNED_LONG_DIGITS10 9 | |
23 #define DCMTK_UNSIGNED_LONG_DIGITS10 9 | |
24 #define DCMTK_FLOAT_MAX_DIGITS10 9 | |
25 #define DCMTK_DOUBLE_MAX_DIGITS10 17 | |
26 #define DCMTK_CHAR_TRAPS OFFalse | |
27 #define DCMTK_CHAR_MODULO OFTrue | |
28 #define DCMTK_SIGNED_CHAR_TRAPS OFFalse | |
29 #define DCMTK_SIGNED_CHAR_MODULO OFTrue | |
30 #define DCMTK_UNSIGNED_CHAR_TRAPS OFFalse | |
31 #define DCMTK_UNSIGNED_CHAR_MODULO OFTrue | |
32 #define DCMTK_SIGNED_SHORT_TRAPS OFFalse | |
33 #define DCMTK_SIGNED_SHORT_MODULO OFTrue | |
34 #define DCMTK_UNSIGNED_SHORT_TRAPS OFFalse | |
35 #define DCMTK_UNSIGNED_SHORT_MODULO OFTrue | |
36 #define DCMTK_SIGNED_INT_TRAPS OFFalse | |
37 #define DCMTK_SIGNED_INT_MODULO OFTrue | |
38 #define DCMTK_UNSIGNED_INT_TRAPS OFFalse | |
39 #define DCMTK_UNSIGNED_INT_MODULO OFTrue | |
40 #define DCMTK_SIGNED_LONG_TRAPS OFFalse | |
41 #define DCMTK_SIGNED_LONG_MODULO OFTrue | |
42 #define DCMTK_UNSIGNED_LONG_TRAPS OFFalse | |
43 #define DCMTK_UNSIGNED_LONG_MODULO OFTrue | |
44 #define DCMTK_FLOAT_TRAPS OFFalse | |
45 #define DCMTK_DOUBLE_TRAPS OFFalse | |
46 #define DCMTK_FLOAT_HAS_INFINITY OFTrue | |
47 #define DCMTK_FLOAT_INFINITY *OFreinterpret_cast( const float*, "\000\000\200\177" ) | |
48 #define DCMTK_DOUBLE_HAS_INFINITY OFTrue | |
49 #define DCMTK_DOUBLE_INFINITY *OFreinterpret_cast( const double*, "\000\000\000\000\000\000\360\177" ) | |
50 #define DCMTK_FLOAT_HAS_QUIET_NAN OFTrue | |
51 #define DCMTK_FLOAT_QUIET_NAN *OFreinterpret_cast( const float*, "\000\000\300\177" ) | |
52 #define DCMTK_DOUBLE_HAS_QUIET_NAN OFTrue | |
53 #define DCMTK_DOUBLE_QUIET_NAN *OFreinterpret_cast( const double*, "\000\000\000\000\000\000\370\177" ) | |
54 #define DCMTK_FLOAT_HAS_SIGNALING_NAN OFFalse | |
55 #define DCMTK_FLOAT_SIGNALING_NAN *OFreinterpret_cast( const float*, "\001\000\200\177" ) | |
56 #define DCMTK_DOUBLE_HAS_SIGNALING_NAN OFFalse | |
57 #define DCMTK_DOUBLE_SIGNALING_NAN *OFreinterpret_cast( const double*, "\001\000\000\000\000\000\360\177" ) | |
58 #define DCMTK_FLOAT_IS_IEC559 OFFalse | |
59 #define DCMTK_DOUBLE_IS_IEC559 OFFalse | |
60 #define DCMTK_FLOAT_HAS_DENORM OFdenorm_present | |
61 #define DCMTK_FLOAT_DENORM_MIN *OFreinterpret_cast( const float*, "\001\000\000\000" ) | |
62 #define DCMTK_DOUBLE_HAS_DENORM OFdenorm_present | |
63 #define DCMTK_DOUBLE_DENORM_MIN *OFreinterpret_cast( const double*, "\001\000\000\000\000\000\000\000" ) | |
64 #define DCMTK_FLOAT_TINYNESS_BEFORE OFFalse | |
65 #define DCMTK_DOUBLE_TINYNESS_BEFORE OFFalse | |
66 #define DCMTK_FLOAT_HAS_DENORM_LOSS OFFalse | |
67 #define DCMTK_DOUBLE_HAS_DENORM_LOSS OFFalse | |
68 #define DCMTK_ROUND_STYLE 1 | |
69 | |
70 #endif // CONFIG_ARITH_H |