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: "David C. Hoos, Sr." Subject: Re: precise floats Date: 1998/08/04 Message-ID: #1/1 X-Deja-AN: 377980625 References: <6q7vtb$jk$1@heliodor.xara.net> Newsgroups: comp.lang.ada X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Date: 1998-08-04T00:00:00+00:00 List-Id: Bob Fletcher wrote in message <6q7vtb$jk$1@heliodor.xara.net>... >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? Well, whether it's simple depends on several things, e.g.: About what platform do you speak? Which compiler? How much is a _lot_ more? For example, for some platform/compiler combinations, IEEE 32-bit floats are the default Float type, while Long_Float is IEEE 64-bit. Is 64-bit a _lot_ more than 32? If you want something more than what is supported by the hardware, then it certainly is no longer simple. I don't know whether there are any arbitrary precision Ada packages around. David C. Hoos, Sr.