Date: Fri, 12 Apr 2002 12:16:45 -0600 (MDT) From: "M. Warner Losh" <imp@village.org> To: wollman@lcs.mit.edu Cc: tim@robbins.dropbear.id.au, freebsd-standards@FreeBSD.ORG Subject: Re: standards/36783 Message-ID: <20020412.121645.03985114.imp@village.org> In-Reply-To: <200204121639.g3CGdOZ90234@khavrinen.lcs.mit.edu> References: <200204121240.g3CCe3a52899@freefall.freebsd.org> <200204121639.g3CGdOZ90234@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200204121639.g3CGdOZ90234@khavrinen.lcs.mit.edu> : Because of the way the IA-32 FPU is configured by default, using : extended precision generally doesn't do any good, and I think in the : current compilers a double and a long double are both implemented as : FPU doubles. (This certainly was true at one time.) This is no longer true. Long doubles can and do give better precision than doubles, but at a high performance cost. printf can't print a long double more precisely than what double can represent, however, since printf casts it to a double first. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020412.121645.03985114.imp>