220 40478 <2c65de99-b905-4253-b02c-5b78d0238643@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Niall Douglas <nialldouglas14@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Optional fixed point arithmetic was standardised
 into C in 2008. Why doesn't C++ adopt it?
Date: Wed, 10 Oct 2018 10:40:14 -0700 (PDT)
Lines: 74
Approved: news@gmane.org
Message-ID: <2c65de99-b905-4253-b02c-5b78d0238643@isocpp.org>
References: <c02eff57-39bb-4e54-b719-6598fe7a1585@isocpp.org>
 <ppkc4l$6u0$1@blaine.gmane.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_2700_709589725.1539193214218"
X-Trace: blaine.gmane.org 1539193090 4094 195.159.176.226 (10 Oct 2018 17:38:10 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Wed, 10 Oct 2018 17:38:10 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDGKFT5YZADRB77S7DOQKGQEU2BKZTQ@isocpp.org Wed Oct 10 19:38:06 2018
Return-path: <std-proposals+bncBDGKFT5YZADRB77S7DOQKGQEU2BKZTQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yb1-f199.google.com ([209.85.219.199])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDGKFT5YZADRB77S7DOQKGQEU2BKZTQ@isocpp.org>)
	id 1gAIQw-0000wE-0o
	for gclcip-std-proposals@m.gmane.org; Wed, 10 Oct 2018 19:38:06 +0200
Original-Received: by mail-yb1-f199.google.com with SMTP id n8-v6sf2040896yba.13
        for <gclcip-std-proposals@m.gmane.org>; Wed, 10 Oct 2018 10:40:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=Z27ihU+JBPDHjM3on6N2V5hSOYTOL9hf3D3OWz0NH78=;
        b=KDmM3MFVLsCe0YbecjkDvsd7LZP8oeBCXCSvJYeXqv4cCLkHxPGyotzZJ3XsCCioak
         X2RRmHo3yNKnnL5PtiXXq16VOFOXC+yl33iRvjVqIF19ZiLdc0pxBjVFa83/bOfx9cHq
         H9ykYqZiHQKLlYJx2vgiKTO2ChXZMqim9+jXfGI5TuI0IgKL4llFx0J74bNVeWRQc+NK
         wJg210RzfKDBPEyo6F1JBpzx14ngU6+LlMGbNWx6WtQ654KgoAOUCRSR0FpdFSJrnhaS
         wX0GoPRyap2HttdI8mSSQmbHPRQADZS+sYFeAFHxZyQ/d71QFHIxSzay5zA5xSUjn2Qz
         Eu8w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=Z27ihU+JBPDHjM3on6N2V5hSOYTOL9hf3D3OWz0NH78=;
        b=C79JRdaaBPhO4S2k1l8lrUunXbynBdjUaQBaaDX8acwPrzSEKcsXE1iLY1VxN9Wr5s
         MT9WXdk2u5ZrzDaZTrCAc2dT/M2rAkdX/v9k1aC5cxT6QlS+XYfyR1VqBQACTWE4BEl7
         eidy8FxieBcj1GSN9TPQcH+q02unDVXoOeQGIpmJqH4qYNC4vBogCqvyfTV0YabXb7Z4
         doQZ89vuDggEqzd+JqqXaNV8oaU/U06z2LNZzjWsWDRUA72PHhX/MSIiCE7xZEYV3uNK
         xW5UMt2I23MpDxlhRGw08/iHzjRGacwrKIp3HQVB7ceMRY9Ic/7nAqpuTHkSqhpGOvE+
         manA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=Z27ihU+JBPDHjM3on6N2V5hSOYTOL9hf3D3OWz0NH78=;
        b=dDg2qmQ6mK+sJwedXn9JQocMoMteA7hwfq5Ay+IAZe/AEqH/aUANeLWOxO5Ixs9rau
         zcVi0bCPkD2atV9WpvMO0KytBmtjf95AfSMqmb/xm06yKp2SB3KGHc2FsXEH7VQKaNHQ
         8N+XuSR0ozDv4s1fKvuqORvCI06CzSX8AE//DtTPUGgPFvhTuGY2Q3WE0sSOR8Q6R1XM
         IuVvntg0v2GoiuNGos6YzN027YqMs9E8bXizEoWLLHJQPMd7v96x4CI1S6ZZ3YLkmyoq
         QxwQ5EzXobIFg0WNXs5jsW55lBqbSVHAvEmiw1isX8XXteSuvGXnfAtEGAlJ4ngACHHO
         R0Sg==
X-Gm-Message-State: ABuFfogtYVlzx1iNt39oFj+esARCDy+gA7zeSiFVCqiMGEVbn0dF8Y54
	A4ggEfzdNE7/ITV6n2N2xinU0g==
X-Google-Smtp-Source: ACcGV60Sh3xkRUFPBMJnNptnDuWBMidJS0uABTABaWwKdFHzyBJNxXdAxr423yB8+RVcLRAwqw94Bg==
X-Received: by 2002:a25:d788:: with SMTP id o130-v6mr18628522ybg.82.1539193216344;
        Wed, 10 Oct 2018 10:40:16 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a81:2347:: with SMTP id j68-v6ls2682042ywj.1.gmail; Wed, 10
 Oct 2018 10:40:15 -0700 (PDT)
X-Received: by 2002:a81:1a07:: with SMTP id a7-v6mr374901ywa.1.1539193214945;
        Wed, 10 Oct 2018 10:40:14 -0700 (PDT)
In-Reply-To: <ppkc4l$6u0$1@blaine.gmane.org>
X-Original-Sender: nialldouglas14@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:40478
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/40478>

------=_Part_2700_709589725.1539193214218
Content-Type: multipart/alternative; 
	boundary="----=_Part_2701_1485068716.1539193214218"

------=_Part_2701_1485068716.1539193214218
Content-Type: text/plain; charset="UTF-8"


>
>
> I only know of one compiler that has some implementation of this TR's 
> fixed point types - that is gcc, which implements it on some targets.  I 
> have tried it, and the code generated is hopeless despite the target 
> processor having support for some fixed point formats.  It is basically 
> a matter of a gcc developer in the past having implemented the front-end 
> parts and very basic code generation, presumably with the intention that 
> others would pick up the ball and turn it into more optimal code now 
> that the process had been started.  However, it has seen no interest 
> (AFAIK) from either compiler developers or users. 
>
> Useful to learn, thanks.

Niall 

-- 
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/2c65de99-b905-4253-b02c-5b78d0238643%40isocpp.org.

------=_Part_2701_1485068716.1539193214218
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><blockquote class=3D"gmail_quote" style=3D"margin: 0;margi=
n-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><br>I only kn=
ow of one compiler that has some implementation of this TR&#39;s
<br>fixed point types - that is gcc, which implements it on some targets. =
=C2=A0I
<br>have tried it, and the code generated is hopeless despite the target
<br>processor having support for some fixed point formats. =C2=A0It is basi=
cally
<br>a matter of a gcc developer in the past having implemented the front-en=
d
<br>parts and very basic code generation, presumably with the intention tha=
t
<br>others would pick up the ball and turn it into more optimal code now
<br>that the process had been started. =C2=A0However, it has seen no intere=
st
<br>(AFAIK) from either compiler developers or users.
<br>
<br></blockquote><div>Useful to learn, thanks.</div><div><br></div><div>Nia=
ll=C2=A0</div></div>

<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/2c65de99-b905-4253-b02c-5b78d0238643%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/2c65de99-b905-4253-b02c-5b78d0238643=
%40isocpp.org</a>.<br />

------=_Part_2701_1485068716.1539193214218--

------=_Part_2700_709589725.1539193214218--

.
