title: How to print the binary representation of a float in Go?
body: <p>The fmt package allows us to print a binary representation of integers with %b. How to get an equivalent result for floats instead of the scientific notation?</p>
  
  <pre><code>fmt.Printf("%b", 52) // 110100
  fmt.Printf("%b", 52.0) // 7318349394477056p-47
  </code></pre>