220 26360 <CAMWMAmXSX+iou48Yv-OiNFtiSGoWp2GHJcsbDfszA+vC92fnzQ@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Anthony Williams <anthony.ajw@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: On P0037 - Fixed-Point Real Numbers
Date: Tue, 21 Jun 2016 08:16:57 +0100
Lines: 60
Approved: news@gmane.org
Message-ID: <CAMWMAmXSX+iou48Yv-OiNFtiSGoWp2GHJcsbDfszA+vC92fnzQ@mail.gmail.com>
References: <navth1$67p$1@ger.gmane.org>
	<201606200924.36959.marc.mutz@kdab.com>
	<CABPJVnRchMhpJ31FjGo9NW5tvwJUP8KuExBRtc_yXNJGsqU7hA@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a1144b7d045c7000535c49b40
X-Trace: ger.gmane.org 1466493428 30224 80.91.229.3 (21 Jun 2016 07:17:08 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 21 Jun 2016 07:17:08 +0000 (UTC)
Cc: Robert Ramey <ramey@rrsd.com>, mcfarlane.john+fixed-point@gmail.com, 
	Marc Mutz <marc.mutz@kdab.com>
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBD65DK5LTQNBB2WTUO5QKGQEGZC3TOI@isocpp.org Tue Jun 21 09:17:02 2016
Return-path: <std-proposals+bncBD65DK5LTQNBB2WTUO5QKGQEGZC3TOI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qk0-f197.google.com ([209.85.220.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBD65DK5LTQNBB2WTUO5QKGQEGZC3TOI@isocpp.org>)
	id 1bFFvg-0006Wx-OO
	for gclcip-std-proposals@m.gmane.org; Tue, 21 Jun 2016 09:17:00 +0200
Original-Received: by mail-qk0-f197.google.com with SMTP id 134sf20700811qkd.1
        for <gclcip-std-proposals@m.gmane.org>; Tue, 21 Jun 2016 00:17:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :cc:x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post
         :list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=gg3Xl/sRTpwksubnM60strLmUbTXlmqPHtH9LVlF/44=;
        b=Gea6KDtsHMVIVgvIBlYKceA3E5Opn87cRToH/jK7vEkOKTPUQfeDlgzVYlk0uaEj6d
         PYW73q3IjhBHyGXo9LnryMCy1By6+YdQk527BH7Tyy4Gi7o0LbyZePW0OvXlMRbmWGJ2
         rTuPKY/L4Q1JtJ9RVS2RbDyGxIGWCX2TUmb/22E+R2vOWUyhUEoyBh5Pe0xTvCNG0gCb
         oOqOdxIXGZDebkwI9hY+uQhBywcFSl6GOfOGXdkkwmuIyh1X9UJAZbsQ4b1OUdtALdSP
         HvBjRa69IHNQoKwMuJHGGTBiOZbrHqVEQ4D/YIRxvaLqnEf9BlW8FSCjPJ8xS3JAqQ7I
         CEgQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:date
         :message-id:subject:from:to:cc:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=gg3Xl/sRTpwksubnM60strLmUbTXlmqPHtH9LVlF/44=;
        b=AJq0hQA+X5P3OX9ABlOIsElT4x5AAaNgK0WmzwKxBm2HY36lsLDkyex7FvMeQbPwAB
         8MHGxikyXL7j95vi6iVaxBfiidfSCrn0DsJnATVGUWZxiK6eFhSSawbIF33PwvHzBtex
         BEPrB3OggeKBLrL0LH7Z5g3CyLoceMvixjsK54o9vVl72U1y9w+pEztd4UIMlB15a+8X
         OrAg/j4+o6dl5pZPjJGMOEogexdjLpgMI6zdsqLvst1qdlhufArY0rOHRzpLVPSy74UY
         G8p2iPBX/OyOyDcm9eviP89gFrgydVsOlmnhpBsCpbmG1fcV68S9RRowavWa25Lajep9
         79tQ==
X-Gm-Message-State: ALyK8tJAtiMG5fxoAA513dN3QY5oA5avKQBXXyG0+fbh9zDl9oFSSO3SK2T1+Os+UPanmA==
X-Received: by 10.200.49.153 with SMTP id h25mr25555691qte.13.1466493419765;
        Tue, 21 Jun 2016 00:16:59 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.36.36.85 with SMTP id f82ls138550ita.33.canary; Tue, 21 Jun
 2016 00:16:58 -0700 (PDT)
X-Received: by 10.107.176.132 with SMTP id z126mr28911869ioe.132.1466493418601;
        Tue, 21 Jun 2016 00:16:58 -0700 (PDT)
Original-Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com. [2607:f8b0:4001:c0b::22b])
        by mx.google.com with ESMTPS id b5si38206558ioa.160.2016.06.21.00.16.58
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Tue, 21 Jun 2016 00:16:58 -0700 (PDT)
Received-SPF: pass (google.com: domain of anthony.ajw@gmail.com designates 2607:f8b0:4001:c0b::22b as permitted sender) client-ip=2607:f8b0:4001:c0b::22b;
Original-Received: by mail-it0-x22b.google.com with SMTP id g127so11384627ith.0
        for <std-proposals@isocpp.org>; Tue, 21 Jun 2016 00:16:58 -0700 (PDT)
X-Received: by 10.36.95.207 with SMTP id r198mr3103249itb.48.1466493418455;
 Tue, 21 Jun 2016 00:16:58 -0700 (PDT)
Original-Received: by 10.50.77.79 with HTTP; Tue, 21 Jun 2016 00:16:57 -0700 (PDT)
Original-Received: by 10.50.77.79 with HTTP; Tue, 21 Jun 2016 00:16:57 -0700 (PDT)
In-Reply-To: <CABPJVnRchMhpJ31FjGo9NW5tvwJUP8KuExBRtc_yXNJGsqU7hA@mail.gmail.com>
X-Original-Sender: anthony.ajw@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of
 anthony.ajw@gmail.com designates 2607:f8b0:4001:c0b::22b as permitted sender)
 smtp.mailfrom=anthony.ajw@gmail.com;       dmarc=pass (p=NONE dis=NONE) header.from=gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:26360
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/26360>

--001a1144b7d045c7000535c49b40
Content-Type: text/plain; charset=UTF-8

On 20 Jun 2016 9:17 p.m., "John McFarlane" <mcfarlane.john@gmail.com> wrote:
>
> If `fixed_point` took a `ratio` object, its range would be reduced to the
range of `maxint_t`. Here's an example of functionality what would not be
possible with such a limitation: [
https://github.com/johnmcfarlane/fixed_point/blob/5d1a016b865ecbcf8479059fdabae9406cff984a/src/test/index.cpp#L94
].
>

It could be specified to take either a std::ratio or a new
exponent<base,power> template.

Anthony

-- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAMWMAmXSX%2Biou48Yv-OiNFtiSGoWp2GHJcsbDfszA%2BvC92fnzQ%40mail.gmail.com.

--001a1144b7d045c7000535c49b40
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On 20 Jun 2016 9:17 p.m., &quot;John McFarlane&quot; &lt;<a href=3D"mailto:=
mcfarlane.john@gmail.com">mcfarlane.john@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; If `fixed_point` took a `ratio` object, its range would be reduced to =
the range of `maxint_t`. Here&#39;s an example of functionality what would =
not be possible with such a limitation: [<a href=3D"https://github.com/john=
mcfarlane/fixed_point/blob/5d1a016b865ecbcf8479059fdabae9406cff984a/src/tes=
t/index.cpp#L94">https://github.com/johnmcfarlane/fixed_point/blob/5d1a016b=
865ecbcf8479059fdabae9406cff984a/src/test/index.cpp#L94</a>].<br>
&gt;</p>
<p dir=3D"ltr">It could be specified to take either a std::ratio or a new e=
xponent&lt;base,power&gt; template.</p>
<p dir=3D"ltr">Anthony</p>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/CAMWMAmXSX%2Biou48Yv-OiNFtiSGoWp2GHJc=
sbDfszA%2BvC92fnzQ%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter"=
>https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAMWMAmXSX%2B=
iou48Yv-OiNFtiSGoWp2GHJcsbDfszA%2BvC92fnzQ%40mail.gmail.com</a>.<br />

--001a1144b7d045c7000535c49b40--

.
