From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GZjkd-00047N-JJ for qemu-devel@nongnu.org; Tue, 17 Oct 2006 03:52:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GZjkb-00045a-Bb for qemu-devel@nongnu.org; Tue, 17 Oct 2006 03:52:39 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GZjkb-00045O-2l for qemu-devel@nongnu.org; Tue, 17 Oct 2006 03:52:37 -0400 Received: from [129.41.63.60] (helo=out002.atlarge.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GZjtt-000742-Fh for qemu-devel@nongnu.org; Tue, 17 Oct 2006 04:02:13 -0400 Message-ID: <45348BC0.8050400@telargo.com> Date: Tue, 17 Oct 2006 09:52:32 +0200 From: Tom Marn MIME-Version: 1.0 Subject: Re: [Qemu-devel] PATCH stfiwx implementation - Problem with casting References: <452B639A.3090304@telargo.com> <452CA5E3.5040909@telargo.com> <45334184.8000406@telargo.com> <2ad73a0610161258n79c16499r1aa53ab74561931@mail.gmail.com> In-Reply-To: <2ad73a0610161258n79c16499r1aa53ab74561931@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Reply-To: tom.marn@telargo.com, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org André Braga wrote: > On 10/16/06, Tom Marn wrote: >> cast test 1 - float: 85.745110 [0x42ab7d7f] -> integer: 85 [0x00000055] >> cast test 2 - float: 85.745110 [0x42ab7d7f] -> integer: 57005 >> [0x0000dead] <-- 85 is correct > > Am I the only one who found this result EXTREMELY amusing? :D > Thanks André This is the purpose to attract the eye to my problem. At least you spend some time on it, to find it amusing too. ;) Now I have the hope that the problem also could be solved.I can send log files of Qemu VM instructions for both tests. Any ideas? Tom