From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,53737152136b2afe,start X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,53737152136b2afe,start X-Google-Attributes: gidfee84,public From: Al Simons Subject: Digital UNIX C 'long double' support questions Date: 1996/09/13 Message-ID: <32395691.ABD@zk3.dec.com>#1/1 X-Deja-AN: 180364769 content-type: text/plain; charset=us-ascii organization: CTG mime-version: 1.0 newsgroups: comp.unix.osf.osf1,comp.sys.dec x-mailer: Mozilla 3.0 (X11; I; OSF1 V4.0 alpha) Digital has been asked to fully support a 128-bit long-double datatype in C and C++ on Digital UNIX, as it does currently with the REAL*16 type in FORTRAN. The current C and C++ compilers for Digital UNIX implement the ANSI C type "long double" as a synonym for type "double", i.e., a 64-bit type. Because of this, we face some decisions around binary compatibility, and are looking for input. We are trying to determine what new applications or classes of applications will be enabled by providing the greater range and accuracy of 128-bit long double. We are also trying to determine what applications are currently using "long double", even though it is equivalent to "double", and would break if the definition changes. Please take a few minutes to consider the following questions, and send your opinions to me at: mailto:simons@zk3.dec.com ---- - What kinds of applications need more range and/or precision than provided by 64-bit "double"? - Are there any applications currently using the (64-bit) "long double" type in your shop? - Can you rebuild if needed? - Are you aware of any library APIs which use the (64-bit) long double type? - If so and the library is yours, can you rebuild it if needed? - If you know of a library API using long double and it is a third party library, what is it and what company released it? - If we support co-existence of 128-bit long double and 64-bit long double under a command line switch, which should be the default? - If we support co-existence of 128-bit long double and 64-bit long double under a command line switch, what would you do for libraries that you support? - What other information can you give us that would indicate the extent to which the long double type (as a 64-bit type) is currently in use? - What other information can you give us about the importance of supporting a 128-bit long double? Thanks for your input, Al Simons Digital UNIX Development Environment simons@zk3.dec.com 603.881.2187