I should've realized go automatically coerced float constants to ints. Which is 
worse but never mind :-)

> On Jun 22, 2016, at 8:57 AM, Jan Mercl <0xj...@gmail.com> wrote:
> 
> On Wed, Jun 22, 2016 at 5:54 PM Bakul Shah <ba...@bitblocks.com> wrote:
> 
> That can be dealt with an output format. Just as the hex or octal or the "e" 
> input format is lost.
> 
> > ... in Go there is a slight inconsistency: 1e6 is an int but 1e-6 is a 
> > float.
> 
> The literals 1e6 and 1e-6 are both untyped floating point constants.
> 
> 
> -- 
> -j

-- 
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