Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GuvHx-0000o7-Hd for qemu-devel@nongnu.org; Thu, 14 Dec 2006 13:26:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GuvHu-0000lr-Qb for qemu-devel@nongnu.org; Thu, 14 Dec 2006 13:26:35 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuvHt-0000li-Tz for qemu-devel@nongnu.org; Thu, 14 Dec 2006 13:26:33 -0500 Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GuvHt-0000Uh-8v for qemu-devel@nongnu.org; Thu, 14 Dec 2006 13:26:33 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GuvHi-0001AZ-KR for qemu-devel@nongnu.org; Thu, 14 Dec 2006 19:26:22 +0100 Received: from adsl02.metz.linbox.com ([62.212.120.90]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Dec 2006 19:26:22 +0100 Received: from ldrolez by adsl02.metz.linbox.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Dec 2006 19:26:22 +0100 From: Ludovic Drolez Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: news Subject: [Qemu-devel] Problem with QEMU FPU on amd64 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 14 Dec 2006 18:26:39 -0000 To: qemu-devel@nongnu.org Hi ! I have problems with a SLES 10 64 bits running on qemu-system-x86_64, with FP numbers (conversion to strings show garbage in PHP for example). Below you'll see conversions of float to string using apr_snprintf (left) or printf (right). Which patch should I try ? Cheers, Ludo. ========================== VALUE =2.G= =2.343750= VALUE =2.G= =2.343750= VALUE =9.Ö= =93.487236= VALUE =0.6o= =0.640000= VALUE =0.1;= =0.119600= VALUE =0.00= =0.000311= VALUE =0.0= =0.000000= VALUE =0.0= =0.000000= VALUE =9.ê= =95.312500= VALUE =0.9= =0.940000= VALUE =0.4Y= =0.420000= VALUE =0.1;= =0.113054= VALUE =0.00= =0.000536=