Floating point numbers

The floating point type does not have a generic type, and must be one of these two options:

  • float32: IEEE-754 32-bit floating-point number
  • float64: IEEE-754 64-bit floating-point number

Get Security with Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.