Subject: Re: toolchain/21414: double to unsigned int conversion broken
To: Andrey Petrov <petrov@netbsd.org>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 05/01/2003 22:53:04
On Thu, May 01, 2003 at 07:47:02PM +0000, Andrey Petrov wrote:
> And as you said this operation is undefined by K&R2.

All well and true, but this is easy to fix in libc, at least for the unsigned
32 bit case. I'll do that, if noone objects.

The question is: does ISO C define this whole conversion to be unsigned or
not? I'm unsure because float is involved.

Martin