Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gv8me-0007eC-WC for qemu-devel@nongnu.org; Fri, 15 Dec 2006 03:51:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gv8md-0007dB-Ip for qemu-devel@nongnu.org; Fri, 15 Dec 2006 03:51:12 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gv8md-0007cr-9g for qemu-devel@nongnu.org; Fri, 15 Dec 2006 03:51:11 -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 1Gv8md-0004YV-CS for qemu-devel@nongnu.org; Fri, 15 Dec 2006 03:51:11 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gv8mU-0003Rx-0u for qemu-devel@nongnu.org; Fri, 15 Dec 2006 09:51:02 +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 ; Fri, 15 Dec 2006 09:51:02 +0100 Received: from ldrolez by adsl02.metz.linbox.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Dec 2006 09:51:02 +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: Fri, 15 Dec 2006 08:51:13 -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=