Re: [go-nuts] IEEE rounding question

2021-10-06 Thread Ian Lance Taylor
On Wed, Oct 6, 2021 at 12:13 AM Jan Mercl <0xj...@gmail.com> wrote: > > On Wed, Oct 6, 2021 at 1:06 AM Ian Lance Taylor wrote: > > > I opened https://golang.org/issue/48807. > > Thank you. Thanks for reporting it. It's an interesting problem. Ian -- You received this message because you are s

Re: [go-nuts] IEEE rounding question

2021-10-06 Thread Jan Mercl
On Wed, Oct 6, 2021 at 1:06 AM Ian Lance Taylor wrote: > I opened https://golang.org/issue/48807. Thank you. -- 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 go

Re: [go-nuts] IEEE rounding question

2021-10-05 Thread Ian Lance Taylor
On Tue, Oct 5, 2021 at 9:23 AM Jan Mercl <0xj...@gmail.com> wrote: > > This is a variation on > https://github.com/gcc-mirror/gcc/blob/2f2aeda98f3aa24034a700e7efcb6c1a9397836f/gcc/testsuite/gcc.c-torture/execute/ieee/rbug.c > > > > package main > > /* > > float s(unsigned long long k) { >

[go-nuts] IEEE rounding question

2021-10-05 Thread Jan Mercl
This is a variation on https://github.com/gcc-mirror/gcc/blob/2f2aeda98f3aa24034a700e7efcb6c1a9397836f/gcc/testsuite/gcc.c-torture/execute/ieee/rbug.c package main /* float s(unsigned long long k) { float x; x = (float)k; return x; } unsigned long long cmain() {