memset on float array does not fully zero out array
<p>I have some array,</p>

<pre><code>float *large_float_array;
</code></pre>

<p>that I calloc and attempt to memset after a loop</p>

<pre><code>large_float_array = (float*)calloc(NUM, sizeof(float));

// .. do stuff with float array

memset(large_float_array, 0, sizeof(large_float_array);

// .. do other stuff
</code></pre>

<p>but it seems <code>large_float_array</code> is not actually zero'd out. Why is this? Is this due to the special properties of floating point numbers? If so, I'm wondering how I could fix this.</p>

<p>P.S. does <code>calloc</code> actually work here too?</p>