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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c1bdceb867926fdb X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!news.netfront.net!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Interfacing Ada with C Date: Thu, 05 Aug 2010 10:59:38 -0700 Organization: Netfront http://www.netfront.net/ Message-ID: References: <0ee9eec7-6024-4fb8-8df0-f65c146e4b84@i28g2000yqa.googlegroups.com> <143ef70b-7e74-426b-a621-a5fd157849be@x21g2000yqa.googlegroups.com> <06eb8f61-2a0c-4dda-93f3-8414d32b6e4f@f20g2000pro.googlegroups.com> NNTP-Posting-Host: 69.97.102.189 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: adenine.netfront.net 1281031179 66029 69.97.102.189 (5 Aug 2010 17:59:39 GMT) X-Complaints-To: news@netfront.net NNTP-Posting-Date: Thu, 5 Aug 2010 17:59:39 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6 In-Reply-To: Xref: g2news1.google.com comp.lang.ada:12886 Date: 2010-08-05T10:59:38-07:00 List-Id: On 08/05/2010 10:24 AM, Ada novice wrote: > > They are much more accurate and better results of course. I wonder why > Matlab tends to be give very "accurate" answers. Normally 15 digits of > precision is also used there. You requested 15 decimal digits; your results are zero to 15 decimal places. If you output in non-scientific notation you'd get zero; presumably that's what Matlab is doing. -- Jeff Carter "I was in love with a beautiful blonde once, dear. She drove me to drink. That's the one thing I'm indebted to her for." Never Give a Sucker an Even Break 109 --- news://freenews.netfront.net/ - complaints: news@netfront.net ---