Mercurial > hg > orthanc
view OrthancFramework/Resources/CMake/WebAssembly/arith.h @ 5816:3f10350b26da
DICOMWeb Json formatter: improve support for ill-formed DS values + DS values are now represented as strings instead of doubles
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Wed, 25 Sep 2024 19:36:43 +0200 |
parents | d25f4c0fa160 |
children |
line wrap: on
line source
/** #define SIZEOF_CHAR 1 #define SIZEOF_DOUBLE 8 #define SIZEOF_FLOAT 4 #define SIZEOF_INT 4 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_VOID_P 4 #define C_CHAR_UNSIGNED 0 **/ #ifndef CONFIG_ARITH_H #define CONFIG_ARITH_H #define DCMTK_SIGNED_CHAR_DIGITS10 2 #define DCMTK_UNSIGNED_CHAR_DIGITS10 2 #define DCMTK_SIGNED_SHORT_DIGITS10 4 #define DCMTK_UNSIGNED_SHORT_DIGITS10 4 #define DCMTK_SIGNED_INT_DIGITS10 9 #define DCMTK_UNSIGNED_INT_DIGITS10 9 #define DCMTK_SIGNED_LONG_DIGITS10 9 #define DCMTK_UNSIGNED_LONG_DIGITS10 9 #define DCMTK_FLOAT_MAX_DIGITS10 9 #define DCMTK_DOUBLE_MAX_DIGITS10 17 #define DCMTK_CHAR_TRAPS OFFalse #define DCMTK_CHAR_MODULO OFTrue #define DCMTK_SIGNED_CHAR_TRAPS OFFalse #define DCMTK_SIGNED_CHAR_MODULO OFTrue #define DCMTK_UNSIGNED_CHAR_TRAPS OFFalse #define DCMTK_UNSIGNED_CHAR_MODULO OFTrue #define DCMTK_SIGNED_SHORT_TRAPS OFFalse #define DCMTK_SIGNED_SHORT_MODULO OFTrue #define DCMTK_UNSIGNED_SHORT_TRAPS OFFalse #define DCMTK_UNSIGNED_SHORT_MODULO OFTrue #define DCMTK_SIGNED_INT_TRAPS OFFalse #define DCMTK_SIGNED_INT_MODULO OFTrue #define DCMTK_UNSIGNED_INT_TRAPS OFFalse #define DCMTK_UNSIGNED_INT_MODULO OFTrue #define DCMTK_SIGNED_LONG_TRAPS OFFalse #define DCMTK_SIGNED_LONG_MODULO OFTrue #define DCMTK_UNSIGNED_LONG_TRAPS OFFalse #define DCMTK_UNSIGNED_LONG_MODULO OFTrue #define DCMTK_FLOAT_TRAPS OFFalse #define DCMTK_DOUBLE_TRAPS OFFalse #define DCMTK_FLOAT_HAS_INFINITY OFTrue #define DCMTK_FLOAT_INFINITY *OFreinterpret_cast( const float*, "\000\000\200\177" ) #define DCMTK_DOUBLE_HAS_INFINITY OFTrue #define DCMTK_DOUBLE_INFINITY *OFreinterpret_cast( const double*, "\000\000\000\000\000\000\360\177" ) #define DCMTK_FLOAT_HAS_QUIET_NAN OFTrue #define DCMTK_FLOAT_QUIET_NAN *OFreinterpret_cast( const float*, "\000\000\300\177" ) #define DCMTK_DOUBLE_HAS_QUIET_NAN OFTrue #define DCMTK_DOUBLE_QUIET_NAN *OFreinterpret_cast( const double*, "\000\000\000\000\000\000\370\177" ) #define DCMTK_FLOAT_HAS_SIGNALING_NAN OFFalse #define DCMTK_FLOAT_SIGNALING_NAN *OFreinterpret_cast( const float*, "\001\000\200\177" ) #define DCMTK_DOUBLE_HAS_SIGNALING_NAN OFFalse #define DCMTK_DOUBLE_SIGNALING_NAN *OFreinterpret_cast( const double*, "\001\000\000\000\000\000\360\177" ) #define DCMTK_FLOAT_IS_IEC559 OFFalse #define DCMTK_DOUBLE_IS_IEC559 OFFalse #define DCMTK_FLOAT_HAS_DENORM OFdenorm_present #define DCMTK_FLOAT_DENORM_MIN *OFreinterpret_cast( const float*, "\001\000\000\000" ) #define DCMTK_DOUBLE_HAS_DENORM OFdenorm_present #define DCMTK_DOUBLE_DENORM_MIN *OFreinterpret_cast( const double*, "\001\000\000\000\000\000\000\000" ) #define DCMTK_FLOAT_TINYNESS_BEFORE OFFalse #define DCMTK_DOUBLE_TINYNESS_BEFORE OFFalse #define DCMTK_FLOAT_HAS_DENORM_LOSS OFFalse #define DCMTK_DOUBLE_HAS_DENORM_LOSS OFFalse #define DCMTK_ROUND_STYLE 1 #endif // CONFIG_ARITH_H