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.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: Xl.tags.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 30 Apr 2015 19:59:28 -0500 From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: getting same output as gfortran, long_float Date: Thu, 30 Apr 2015 20:59:32 -0400 Organization: IISS Elusive Unicorn Message-ID: References: X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 108.68.176.228 X-Trace: sv3-SG2EqPYrLUi51G2Emjr71C2QL7+2NprAuMj4V/mUDZkdurfjgTjVm7SIpukoxzDjdalFpBd3qSNietB!AOjo19hJJLQh3rKG4MPcwLKIjOPakJJ5PU/DEbckDhk47OAFXug8+j4O3OE6bT/BDX7zZjwd6Jmm!7bhdBU7r+RIqbguwqc6Ing4h2ICq X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1725 Xref: number.nntp.giganews.com comp.lang.ada:192979 Date: 2015-04-30T20:59:32-04:00 List-Id: On Thu, 30 Apr 2015 15:27:43 -0700, Qun-Ying declaimed the following: >Currently, on my x86_64 Linux with GCC 4.9.2, the maximum digits I could >define is 18: >type My_float is digits 18; > >Far less then what you would expected. > More than I'd have expected... Classic floating point is considered 7 significant digits for single precision (4-byte), and 15 significant digits for double precision (8-byte). -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/