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,544e7f5698c48b7c X-Google-Attributes: gid103376,public From: cgreen@yosemite.atc.com (Christopher Green) Subject: Re: precise floats Date: 1998/08/04 Message-ID: <6q828o$85l@newshub.atmnet.net>#1/1 X-Deja-AN: 377964762 References: <6q7vtb$jk$1@heliodor.xara.net> Organization: Advanced Technology Center, Laguna Hills, CA Newsgroups: comp.lang.ada Date: 1998-08-04T00:00:00+00:00 List-Id: In article <6q7vtb$jk$1@heliodor.xara.net>, Bob Fletcher wrote: >What is the best way to define a float type that has greater precision, >(like a lot greater), than the default one? Is there a simple way to do >this? type my_very_precise_type is digits ; where is the number of digits of precision you need. Be aware, however, that few compilers support float types of precision greater than 15 digits. If you have an application that depends on floating-point calculations of very high precision, be especially careful in numerical analysis, design, and testing. Don't accept vendor's claims that their numerical libraries perform correctly; test them in computations that are required in your application. -- Chris Green Email cgreen@atc.com Advanced Technology Center Phone (949) 583-9119 22982 Mill Creek Drive ext. 220 Laguna Hills, CA 92653 Fax (949) 583-9213