float32(0) is a constant, a typed constant.  The following statement is
valid:

const z = float32(0)

So it is following the part of the spec that Ian pointed out.

    -Paul

On Mon, Sep 12, 2016 at 5:15 PM, <xiiop...@gmail.com> wrote:

> I see - so if I understood correctly the spec for constants disallowing
> divide by zero has accidentally been applied to divide by zero for float32s
>
> Does this mean there will be a fix at some distant point ?
>
> --
> 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.
>

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