We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91e83cb commit 4acfef7Copy full SHA for 4acfef7
Source/SupportFunctions/arm_float_to_q31.c
@@ -60,6 +60,12 @@
60
@note
61
In order to apply rounding, the library should be rebuilt with the ROUNDING macro
62
defined in the preprocessor section of project options.
63
+
64
+ @note If the input float values are very big (2**32) then the function
65
+ won't be able to saturate to the right values.
66
+ If you expect very big float values in the input array then you
67
+ should force those values to +1 or -1 before calling this function.
68
+ For reasonable float values (< 2**32), the function will saturate correctly.
69
*/
70
71
#if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE)
0 commit comments