On Mon, May 07, 2007 at 06:17:44PM +0200, Erik Wikström wrote: > I've never been an assembly programmer but it seems to me like there > should be some instruction for this kind of thing. By changing the rounding mode, which in general is quite expensive and often not worse it. Note that it is the same as floor/ceil + condition. Joerg