On Mon, Apr 15, 2019 at 6:47 PM Miki Tebeka <miki.teb...@gmail.com> wrote:

> Does that mean that the Go compiler is using floats with more precision
than the runtime?

Absolutely: https://golang.org/ref/spec#Constants

""""
Represent integer constants with at least 256 bits.
Represent floating-point constants, including the parts of a complex
constant, with a mantissa of at least 256 bits and a signed binary exponent
of at least 16 bits.
""""

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to