diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-01-28 19:31:33 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-01-28 19:31:33 -0500 |
commit | d870487437b33d1a26eb8f5f5aaa414ca6ed24e0 (patch) | |
tree | c6664433e718774b0ad22345f859391814212de9 /volk | |
parent | 7ecd13dbeebb5083d309b2a74d158bb1bb26066e (diff) |
volk: fix lower bound of int conversion.
Diffstat (limited to 'volk')
-rw-r--r-- | volk/include/volk/volk_32f_s32f_convert_32i_a.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/volk/include/volk/volk_32f_s32f_convert_32i_a.h b/volk/include/volk/volk_32f_s32f_convert_32i_a.h index 15fa282fba..8f2fc791e4 100644 --- a/volk/include/volk/volk_32f_s32f_convert_32i_a.h +++ b/volk/include/volk/volk_32f_s32f_convert_32i_a.h @@ -22,7 +22,7 @@ static inline void volk_32f_s32f_convert_32i_a_avx(int32_t* outputVector, const const float* inputVectorPtr = (const float*)inputVector; int32_t* outputVectorPtr = outputVector; - float min_val = -2147483647; + float min_val = -2147483648; float max_val = 2147483647; float r; @@ -71,7 +71,7 @@ static inline void volk_32f_s32f_convert_32i_a_sse2(int32_t* outputVector, const const float* inputVectorPtr = (const float*)inputVector; int32_t* outputVectorPtr = outputVector; - float min_val = -2147483647; + float min_val = -2147483648; float max_val = 2147483647; float r; |