This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fixed-point support for c++ [patch]


On Wed, 14 Apr 2010, Sean D'Epagnier wrote:

> Sorry for first email, it was premature.
> 
> I have two patches for gcc.  The first fixes some important bugs
> within gcc for fixed point support and applies to all languages and
> targets.  The second is c++ related only, and adds support to the
> parser for fixed point.

It seems likely to me that WG21 would go for a fixed-point approach 
similar to that for decimal floating-point, rather than adding keywords, 
if a fixed-point TR is adopted for C++ in future - have you tried a split 
library/compiler approach similar to that used for decimal floating-point, 
with a view to it providing implementation experience that could inform 
future standardization?  I'm not a C++ front-end maintainer, but 
implementing something likely to differ from the approach preferred for 
such C++ features by WG21 seems like a bad idea to me.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]