From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b8effe21a2a8e1cb X-Google-Attributes: gid103376,public From: kst@king.cts.com (Keith Thompson) Subject: Re: An interesting object lesson (Ada vs C) Date: 1998/04/29 Message-ID: <893889181.977487@wagasa.cts.com>#1/1 X-Deja-AN: 348884427 Cache-Post-Path: wagasa.cts.com!kst@king.cts.com References: <6hvpf2$77d$1@news.hal-pc.org> Organization: CTS Network Services Newsgroups: comp.lang.ada Date: 1998-04-29T00:00:00+00:00 List-Id: Robert Dewar (dewar@merv.cs.nyu.edu) wrote: [...] > Someone else complained at the use of the non-standard long double, true, > but it seems a pity that you *need* a non-standard extension to get at > a basic facility of the underlying architecture -- certainly not something > that is required in Ada! The type long double is part of the C standard. See ANSI/ISO 9899-1990, section 6.1.2.5: There are three floating types, designated as float, double, and long double. The set of values of the type float is a subset of the set of values of the type double; the set of values of the type double is a subset of the set of the set of values of the type long double. Admittedly, there are still C compilers in use that don't support long double -- just as there are still Ada compilers in use that don't support the new features of Ada 95. -- Keith Thompson (The_Other_Keith) kst@cts.com <*> Qualcomm, San Diego, California, USA It takes a Viking to raze a village.