All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice@bellard.org>
To: Thiemo Seufer <ths@networkno.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu/target-mips op_helper.c
Date: Thu, 28 Jun 2007 10:24:37 +0200	[thread overview]
Message-ID: <46837045.3020607@bellard.org> (raw)
In-Reply-To: <20070628021912.GB2857@networkno.de>

floatX_to_intY should already do the rounding according to the current 
rounding direction.

Fabrice.

Thiemo Seufer wrote:
> 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.
> 
> 
> Thiemo
> 
> 

  reply	other threads:[~2007-06-28  8:24 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-27 19:01 [Qemu-devel] qemu/target-mips op_helper.c Thiemo Seufer
2007-06-27 22:12 ` Fabrice Bellard
2007-06-28  2:19   ` Thiemo Seufer
2007-06-28  8:24     ` Fabrice Bellard [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-01-08 18:11 Thiemo Seufer
2007-12-25  3:18 Thiemo Seufer
2007-09-29 19:20 Thiemo Seufer
2007-09-28 19:30 Thiemo Seufer
2007-06-28 14:07 Thiemo Seufer
2007-05-28 17:36 Thiemo Seufer
2007-04-15 17:27 Thiemo Seufer
2007-04-13 22:30 Thiemo Seufer
2007-04-02 15:54 Thiemo Seufer
2007-01-01 20:32 Thiemo Seufer
2006-11-12 20:55 Paul Brook
2006-04-23 18:18 Fabrice Bellard
2006-03-11 16:39 Paul Brook
2005-07-02 15:29 Fabrice Bellard
2005-07-02 15:22 Fabrice Bellard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46837045.3020607@bellard.org \
    --to=fabrice@bellard.org \
    --cc=qemu-devel@nongnu.org \
    --cc=ths@networkno.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.