I have an array of floating point values. The array is converted to binary value array on the basis of a threshold value. e.g
A = 0.3,1.3,4.4,6.4;
if threshold = 4
A = 0, 0, 1, 1;
Now, I want to convert it to bitset. Is there an easy way to do it.
I am new to programming so sorry if the question is too silly.
Thanks