title: Warning about data loss c++/c
body: <p>I am getting a benign warning about possible data loss</p>
  
  <blockquote>
    <p>warning C4244: 'argument' : conversion from 'const int' to 'float', possible loss of data</p>
  </blockquote>
  
  <p><strong>Question</strong>  </p>
  
  <p>I remember as if float has a larger precision than int. So how can data be lost if I convert from a smaller data type <strong>(int)</strong> to a larger data type <strong>(float)</strong>?</p>