title: Maximum possible value for f64?
body: <p>How can I initialize a variable of type <code>f64</code> with the maximum possible value? I already tried things like:</p>
  
  <pre><code>std::f64::MAX
  f64::MAX_VALUE
  f64::consts::MAX_VALUE
  core::f64::MAX_VALUE
  </code></pre>
  
  <p>and some other variants but the compiler always complains about an unresolved name. I'm using no namespaces (like no <code>use xx::yyy</code>) and I'm trying to initialize the variable like this:</p>
  
  <pre><code>let mut min = f64::consts::MAX_VALUE;
  </code></pre>
  
  <p>Did I miss something or is there no way to get the largest possible value for a f64?</p>
  
  <p>If there is a way for <code>f64</code>, what are the ways for the other data types?</p>