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,289588029f2ed8e6 X-Google-Attributes: gid103376,public From: Marin David Condic Subject: Re: Size of Float Date: 2000/09/27 Message-ID: <39D1F845.90993667@acm.org>#1/1 X-Deja-AN: 674696863 Content-Transfer-Encoding: 7bit References: <39D13A5C.9A587A82@erols.com> X-Accept-Language: en X-Server-Date: 27 Sep 2000 13:38:17 GMT Content-Type: text/plain; charset=us-ascii Organization: Quadrus Corporation Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-09-27T13:38:17+00:00 List-Id: Daniel Allex wrote: > Is a float limited to 32 bits or is there a 64 bit version? I'm using > Ada95. The language doesn't limit the size of floating point types. What sizes are available is going to depend on your compiler and platform. For example, I'm using the GNAT cmpiler on a PC platform and this supports a built-in type called Long_Long_Float which is 96 bits. Whereas the GNAT compiler on an Alpha/VMS platform will only support 64 bits. The maximum size is usually dictated by the underlying hardware. MDC -- ====================================================================== Marin David Condic - Quadrus Corporation - http://www.quadruscorp.com/ Send Replies To: m c o n d i c @ q u a d r u s c o r p . c o m Visit my web site at: http://www.mcondic.com/ "Giving money and power to Government is like giving whiskey and car keys to teenage boys." -- P. J. O'Rourke ======================================================================