From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v609) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: 9fans@cse.psu.edu From: suspect@suspicious.org Subject: [9fans] libfmt/libutf and long double Date: Mon, 29 Dec 2003 22:10:41 -0500 Topicbox-Message-UUID: b09cf7e0-eacc-11e9-9e20-41e7f4b1d025 Hello, I've run into a behavior with libfmt/libutf on UNIX system that does not seem intuitive: long double ldv = 3.3; print("long double var = %llE\n", ldv); gives: long double var = -6.257775E+92 Identical code under Plan 9 gives the expected output of: long double var = 3.300000E+00 Is there any particular reason why the behaviors should differ in this manner ? cheers,