diff options
author | David Tellenbach <david.tellenbach@me.com> | 2020-10-29 07:28:28 +0100 |
---|---|---|
committer | David Tellenbach <david.tellenbach@me.com> | 2020-10-29 07:28:28 +0100 |
commit | 09f015852bac3c28849aa9bbcf0e3cc1c2fb6808 (patch) | |
tree | c1bc9c99ec60db40cc6f3052af57605af33a9b51 /Eigen/src/Core/NumTraits.h | |
parent | e265f7ed8e59c26e15f2c35162c6b8da1c5d594f (diff) |
Replace numext::as_uint with numext::bit_cast<numext::uint32_t>
Diffstat (limited to 'Eigen/src/Core/NumTraits.h')
-rw-r--r-- | Eigen/src/Core/NumTraits.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Eigen/src/Core/NumTraits.h b/Eigen/src/Core/NumTraits.h index 16bd74b1d..609e11402 100644 --- a/Eigen/src/Core/NumTraits.h +++ b/Eigen/src/Core/NumTraits.h @@ -96,9 +96,6 @@ EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Tgt bit_cast(const Src& src) { memcpy(&tgt, &src, sizeof(Tgt)); return tgt; } - -/** \internal extract the bits of the float \a x */ -EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC numext::uint32_t as_uint(float x) { return bit_cast<numext::uint32_t>(x); } } // namespace numext /** \class NumTraits |