X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0	tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4DA1B193.9080207@aol.com>
Date: Sun, 10 Apr 2011 06:33:07 -0700
From: Tim Prince <n8tm@aol.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: newlib and long-double question
References: <BANLkTi=ud0PMGwwzRRh+hvDVcv4=nACEYA@mail.gmail.com> <20110409160524.GA29135@ednor.casa.cgf.cx> <BANLkTikd0e3xrD_NS+HFbaSmwFd-YzkBLw@mail.gmail.com> <BANLkTi=LAnmGNaF-MXS5ZUp23TFq9rCDoA@mail.gmail.com> <BANLkTi=hGQXjiEa3s2HZW+yYfC9YSaXXaQ@mail.gmail.com> <85C4645B18FA4D37852D725436AB741B@desktop2> <BANLkTi=XbmP=4PaC6e6_Lbe37r5C9hz5-Q@mail.gmail.com> <E1896519D4C841C289335ECC3AD7E470@desktop2>
In-Reply-To: <E1896519D4C841C289335ECC3AD7E470@desktop2>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
x-aol-global-disposition: G
X-AOL-SCOLL-SCORE: 0:2:385444992:93952408
X-AOL-SCOLL-URL_COUNT: 0
x-aol-sid: 3039ac1d29054da1b19431e8
X-AOL-IP: 99.13.231.72
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 4/10/2011 4:28 AM, Sisyphus wrote:
>
> ----- Original Message ----- From: "Hugh Myers"
>
>> The OP is trying to build Perl itself, not use it; hence the need for
>> long double support functions...
>
> You don't need "long double support functions" to build perl ... unless
> you want to build a perl whose NV is a long double (instead of a double).
>
> Presumably the op wants to build a perl whose NV is a long double so
> that he can make use of that extra precision. Given that he can't build
> such a perl, the next best way of accessing that extra precision he
> wants is, imo, to use Math::MPFR.
>
I never did see a clear description of OP's goals.  "Performance" was 
among them, so it was unclear why typical mathlinline.h content would 
have been rejected e.g.

__inline_mathcode_ (long double, __sqrtl, __x, return __builtin_sqrtl (__x))


As OP indicated, the functions might not have been difficult to write, 
perhaps not as difficult as settling requirements. If the requirement 
was for sqrtl to perform faster than sqrt, the expectation was misguided.


-- 
Tim Prince

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

