From 09f015852bac3c28849aa9bbcf0e3cc1c2fb6808 Mon Sep 17 00:00:00 2001 From: David Tellenbach Date: Thu, 29 Oct 2020 07:28:28 +0100 Subject: Replace numext::as_uint with numext::bit_cast --- Eigen/src/Core/NumTraits.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'Eigen/src/Core/NumTraits.h') 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(x); } } // namespace numext /** \class NumTraits -- cgit v1.2.3