当前位置:网站首页>Do not use memset to clear floating-point numbers

Do not use memset to clear floating-point numbers

2022-07-07 15:38:00 sgmcy

Is it legal to use memset(,0,) on array of doubles?

c - Is it legal to use memset(…, 0, …) on an array of doubles? - Stack Overflow

Safe practices , Be honest , use for Loop to clear the floating-point array .

Otherwise, unpredictable consequences will result .

原网站

版权声明
本文为[sgmcy]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130612547768.html