On Thu, Mar 15, 2012 at 04:23:04AM +0100, Szabolcs Nagy wrote: > but now that we figured out the fpu status register based > solution this does not matter.. Here's the asm version based on fpu status word. I'm not sure if it's safe for non-default rounding modes but otherwise it should be correct. Rich