[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qemu/target-mips op_helper.c

From: Thiemo Seufer
Subject: Re: [Qemu-devel] qemu/target-mips op_helper.c
Date: Thu, 28 Jun 2007 03:19:12 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Fabrice Bellard wrote:
> IMHO, calling floatX_round_to_int before floatX_to_intY is not useful...

I don't understand. floatX_round_to_int does round/ceil/floor but
keeps the floating point representation. floatX_to_intY converts
the adjusted value to integer representation.

Doing this in two steps may have its own problems like spurious
inexact signalling, but at least the calculated values appear to
be correct.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]