TypeTraits ========== .. cpp:class:: numpy::TypeTraits numpy C++ class. Example ------- .. code-block:: cpp #include using namespace numpy; // Use TypeTraits TypeTraits obj; // ... operations ... Indexing / Selection -------------------- .. list-table:: :widths: 40 20 15 25 :header-rows: 1 * - Signature - Return Type - Location - Example * - ``DType getDType()`` - DType - NP_DTYPE.H:155 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:161 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:167 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:173 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:179 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:185 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:191 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:197 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:203 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:209 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:215 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:221 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:229 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:236 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:242 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:250 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:257 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:263 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:269 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:275 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:281 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:287 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:293 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:299 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:305 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:311 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:317 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:323 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:329 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:335 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:377 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:383 - :ref:`View ` * - ``DType getDType()`` - DType - NP_DTYPE.H:389 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:156 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:162 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:168 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:174 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:180 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:186 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:192 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:198 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:204 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:210 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:216 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:222 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:230 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:237 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:243 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:251 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:258 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:264 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:270 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:276 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:282 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:288 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:294 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:300 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:306 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:312 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:318 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:324 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:330 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:336 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:378 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:384 - :ref:`View ` * - ``std::string getTypeName()`` - std::string - NP_DTYPE.H:390 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:157 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:163 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:169 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:175 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:181 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:187 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:193 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:199 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:205 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:211 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:217 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:223 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:231 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:238 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:244 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:252 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:259 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:265 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:271 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:277 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:283 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:289 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:295 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:301 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:307 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:313 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:319 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:325 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:331 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:337 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:379 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:385 - :ref:`View ` * - ``size_t getTypeSize()`` - size_t - NP_DTYPE.H:391 - :ref:`View ` Code Examples ------------- The following examples are extracted from the test suite. .. _example-typetraits-getdtype-0: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-1: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-2: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-3: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-4: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-5: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-6: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-7: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-8: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-9: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-10: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-11: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-12: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-13: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-14: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-15: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-16: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-17: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-18: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-19: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-20: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-21: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-22: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-23: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-24: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-25: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-26: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-27: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-28: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-29: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-30: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-31: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-getdtype-32: .. dropdown:: getDType (np_test_1_all.cpp:7238) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7228 :emphasize-lines: 11 // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() // std::cout << "DType Enums:" << std::endl; // std::cout << " longdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " clongdouble DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " intp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " uintp DType: " << static_cast(TypeTraits::getDType()) << std::endl; // std::cout << " bytes DType: " << static_cast(TypeTraits::getDType()) << std::endl; std::cout << " -> tests passed" << std::endl; } .. _example-typetraits-gettypename-33: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-34: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-35: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-36: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-37: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-38: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-39: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-40: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-41: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-42: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-43: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-44: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-45: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-46: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-47: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-48: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-49: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-50: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-51: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-52: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-53: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-54: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-55: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-56: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-57: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-58: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-59: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-60: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-61: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-62: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-63: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-64: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypename-65: .. dropdown:: getTypeName (np_test_1_all.cpp:7227) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7217 :emphasize-lines: 11 // std::cout << "Min: " << ip_array.minArray() << std::endl; // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; .. _example-typetraits-gettypesize-66: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-67: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-68: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-69: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-70: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-71: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-72: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-73: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-74: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-75: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-76: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-77: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-78: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-79: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-80: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-81: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-82: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-83: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-84: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-85: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-86: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-87: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-88: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-89: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-90: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-91: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-92: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-93: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-94: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-95: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-96: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-97: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType() .. _example-typetraits-gettypesize-98: .. dropdown:: getTypeSize (np_test_1_all.cpp:7228) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 7218 :emphasize-lines: 11 // std::cout << "Max: " << ip_array.maxArray() << std::endl; std::cout << " -> tests passed" << std::endl; } void testTypeTraitsExtendedTypes() { std::cout << "========= testTypeTraitsExtendedTypes ======================="; // std::cout << "Type Information:" << std::endl; // std::cout << " longdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " clongdouble: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " intp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " uintp: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // std::cout << " bytes: " << TypeTraits::getTypeName() // << ", size: " << TypeTraits::getTypeSize() << " bytes" << std::endl; // Test getDType()