diff options
author | Joel Holdsworth <joel.holdsworth@vcatechnology.com> | 2019-11-25 13:59:25 +0000 |
---|---|---|
committer | Joel Holdsworth <joel.holdsworth@vcatechnology.com> | 2019-12-11 18:22:57 +0000 |
commit | e87af0ed37d2e7df41499fd64e58523d2270d075 (patch) | |
tree | 7b236b67bb20aed30dddc95a97ff8c374f22f224 /Eigen/src/Core/util/Meta.h | |
parent | 15b3bcfca0fdcb65e5b167fe81139f29c1c937fb (diff) |
Added Eigen::numext typedefs for uint8_t, int8_t, uint16_t and int16_t
Diffstat (limited to 'Eigen/src/Core/util/Meta.h')
-rwxr-xr-x | Eigen/src/Core/util/Meta.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Eigen/src/Core/util/Meta.h b/Eigen/src/Core/util/Meta.h index 2153f2c0d..301077fab 100755 --- a/Eigen/src/Core/util/Meta.h +++ b/Eigen/src/Core/util/Meta.h @@ -688,6 +688,10 @@ inline unsigned int as_uint(float x) #include <cstdint> namespace Eigen { namespace numext { +typedef std::uint8_t uint8_t; +typedef std::int8_t int8_t; +typedef std::uint16_t uint16_t; +typedef std::int16_t int16_t; typedef std::uint32_t uint32_t; typedef std::int32_t int32_t; typedef std::uint64_t uint64_t; @@ -700,6 +704,10 @@ typedef std::int64_t int64_t; #include <stdint.h> namespace Eigen { namespace numext { +typedef ::uint8_t uint8_t; +typedef ::int8_t int8_t; +typedef ::uint16_t uint16_t; +typedef ::int16_t int16_t; typedef ::uint32_t uint32_t; typedef ::int32_t int32_t; typedef ::uint64_t uint64_t; |