Re: GCC's Decimal Floating Point extension problem

2012-09-12 Thread Vincent Lefevre
On 2012-09-11 11:34:58 -0700, H.J. Lu wrote: > On Tue, Sep 11, 2012 at 11:31 AM, Mohamed Abou Samra > wrote: > > Hi All, > > > > I'm trying to write a small program to check the decimal floating > > point gcc extension but I encountered some problems

Re: GCC's Decimal Floating Point extension problem

2012-09-11 Thread H.J. Lu
On Tue, Sep 11, 2012 at 11:31 AM, Mohamed Abou Samra wrote: > Hi All, > > I'm trying to write a small program to check the decimal floating point gcc > extension but I encountered some problems > > The program just converts a _Decimal64 number to double to print it and

GCC's Decimal Floating Point extension problem

2012-09-11 Thread Mohamed Abou Samra
 Hi All, I'm trying to write a small program to check the decimal floating point gcc extension but I encountered some problems The program just converts a _Decimal64 number to double to print it and I used the function (double __bid_truncdddf (_Decimal64 a) as the gnu online docs

Re: decimal floating point

2012-06-19 Thread Janis Johnson
On 06/18/2012 10:51 PM, Franz Fehringer wrote: > Hi, > > I am investigating the possibilities of using decimal floating point > arithmetic with gcc (on Linux / x86_64 to be explicit). I'm a little rusty on this and my information might be out of date, but this should be a good

decimal floating point

2012-06-18 Thread Franz Fehringer
Hi, I am investigating the possibilities of using decimal floating point arithmetic with gcc (on Linux / x86_64 to be explicit). Are _Decimal32/_Decimal64/_Decimal128 available as builtin types without further action or do i as a DFP consumer have to issue the correspondent typedef/float

Re: C++ support for decimal floating point

2009-09-29 Thread Jason Merrill
On 09/29/2009 04:23 PM, Janis Johnson wrote: The PowerPC 32-bit ELF ABI says that a struct is passed as a pointer to an object or a copy of the object. Classes are treated the same as classes. Does the C++ ABI have rules about classes like std::complex that would cause them to be treated differ

Re: C++ support for decimal floating point

2009-09-29 Thread Richard Henderson
On 09/29/2009 01:49 PM, Janis Johnson wrote: On Tue, 2009-09-29 at 13:37 -0700, Richard Henderson wrote: On 09/29/2009 01:20 PM, Janis Johnson wrote: I've been trying to find a place in the C++ front end where I can replace all references to the class type to the scalar types, but haven't yet f

Re: C++ support for decimal floating point

2009-09-29 Thread Janis Johnson
On Tue, 2009-09-29 at 13:37 -0700, Richard Henderson wrote: > On 09/29/2009 01:20 PM, Janis Johnson wrote: > > I've been trying to find a place in the C++ front end where I can > > replace all references to the class type to the scalar types, but > > haven't yet found it. Any suggestions? > > cp_

Re: C++ support for decimal floating point

2009-09-29 Thread Richard Henderson
On 09/29/2009 01:20 PM, Janis Johnson wrote: I've been trying to find a place in the C++ front end where I can replace all references to the class type to the scalar types, but haven't yet found it. Any suggestions? cp_genericize? Though I'm not sure what to do about global variables... r~

Re: C++ support for decimal floating point

2009-09-29 Thread Janis Johnson
10:29 +0200, Richard Guenther wrote: > >> >> On Wed, Sep 23, 2009 at 2:38 AM, Janis Johnson > >> >> wrote: > >> >> > I've been implementing ISO/IEC TR 24733, "an extension for the > >> >> > programming language C++ to supp

Re: C++ support for decimal floating point

2009-09-29 Thread Janis Johnson
On Wed, 2009-09-23 at 14:21 -0700, Richard Henderson wrote: > On 09/23/2009 02:11 PM, Janis Johnson wrote: > > The class types for std::decimal::decimal32 and friends do have the > > proper modes. I suppose I could special-case aggregates of those modes > > but the plan was to pass these particula

Re: C++ support for decimal floating point

2009-09-23 Thread Gabriel Dos Reis
2009 at 2:38 AM, Janis Johnson >> >> wrote: >> >> > I've been implementing ISO/IEC TR 24733, "an extension for the >> >> > programming language C++ to support decimal floating-point arithmetic", >> >> > in GCC.  It might be ready as

Re: C++ support for decimal floating point

2009-09-23 Thread Janis Johnson
implementing ISO/IEC TR 24733, "an extension for the > >> > programming language C++ to support decimal floating-point arithmetic", > >> > in GCC. It might be ready as an experimental feature for 4.5, but I > >> > would particularly like to get in the compiler

Re: C++ support for decimal floating point

2009-09-23 Thread Gabriel Dos Reis
mming language C++ to support decimal floating-point arithmetic", >> > in GCC.  It might be ready as an experimental feature for 4.5, but I >> > would particularly like to get in the compiler changes that are needed >> > for it. >> > >> > Most of the supp

Re: C++ support for decimal floating point

2009-09-23 Thread Richard Henderson
On 09/23/2009 02:11 PM, Janis Johnson wrote: The class types for std::decimal::decimal32 and friends do have the proper modes. I suppose I could special-case aggregates of those modes but the plan was to pass these particular classes (and typedefs of them) the same as scalars, rather than _any_

Re: C++ support for decimal floating point

2009-09-23 Thread Janis Johnson
On Wed, 2009-09-23 at 10:29 +0200, Richard Guenther wrote: > On Wed, Sep 23, 2009 at 2:38 AM, Janis Johnson wrote: > > I've been implementing ISO/IEC TR 24733, "an extension for the > > programming language C++ to support decimal floating-point arithmetic", > &

Re: C++ support for decimal floating point

2009-09-23 Thread Richard Guenther
On Wed, Sep 23, 2009 at 2:38 AM, Janis Johnson wrote: > I've been implementing ISO/IEC TR 24733, "an extension for the > programming language C++ to support decimal floating-point arithmetic", > in GCC.  It might be ready as an experimental feature for 4.5, but I > wou

C++ support for decimal floating point

2009-09-22 Thread Janis Johnson
I've been implementing ISO/IEC TR 24733, "an extension for the programming language C++ to support decimal floating-point arithmetic", in GCC. It might be ready as an experimental feature for 4.5, but I would particularly like to get in the compiler changes that are needed for i

Re: When was decimal floating point added to gcc?

2007-06-08 Thread H. J. Lu
On Thu, Jun 07, 2007 at 08:40:14AM +1000, Ben Elliston wrote: > On Wed, 2007-06-06 at 16:46 +0200, Gerald Pfeifer wrote: > > > In that case it's probably not that good of a idea to promote it (unless > > the maintainers are in favor, of course ;-). > > I'm happy to leave things as they are for no

Re: When was decimal floating point added to gcc?

2007-06-06 Thread Ben Elliston
On Wed, 2007-06-06 at 16:46 +0200, Gerald Pfeifer wrote: > In that case it's probably not that good of a idea to promote it (unless > the maintainers are in favor, of course ;-). I'm happy to leave things as they are for now. Cheers, Ben -- Ben Elliston <[EMAIL PROTECTED]> Australia Developmen

Re: When was decimal floating point added to gcc?

2007-06-06 Thread Gerald Pfeifer
On Mon, 4 Jun 2007, H. J. Lu wrote: >> Support for the decimal floating point C extension could be mentioned >> in the release notes for GCC 4.2, but there it's only supported for >> powerpc*-linux and x86*-linux and only if requested at configure time. >> The ABI f

Re: When was decimal floating point added to gcc?

2007-06-04 Thread H. J. Lu
should be. > > > > Do you think we could talk the submitters/maintainers into donating a > > patch? :-) > > Support for the decimal floating point C extension could be mentioned > in the release notes for GCC 4.2, but there it's only supported for > powerpc*-l

Re: When was decimal floating point added to gcc?

2007-06-04 Thread Janis Johnson
ners into donating a > patch? :-) Support for the decimal floating point C extension could be mentioned in the release notes for GCC 4.2, but there it's only supported for powerpc*-linux and x86*-linux and only if requested at configure time. The ABI for powerpc*-linux has changed since then, and the r

Re: When was decimal floating point added to gcc?

2007-06-03 Thread Gerald Pfeifer
On Sun, 3 Jun 2007, Ben Elliston wrote: >> Are they mentioned in any gcc changes.html? > No, they're not. They probably should be. Do you think we could talk the submitters/maintainers into donating a patch? :-) Gerald

Re: When was decimal floating point added to gcc?

2007-06-03 Thread Ben Elliston
On Sat, 2007-06-02 at 18:48 -0700, H. J. Lu wrote: > > > When was decimal floating point added to gcc? I couldn't find it > > > in any gcc changes.html. Shouldn't it be mentioned somewhere? > Are they mentioned in any gcc changes.html? No, they're not. They probably should be. Ben

Re: When was decimal floating point added to gcc?

2007-06-02 Thread H. J. Lu
On Sat, Jun 02, 2007 at 08:17:40PM -0500, Peter Bergner wrote: > On Sat, 2007-06-02 at 07:35 -0700, H. J. Lu wrote: > > When was decimal floating point added to gcc? I couldn't find it > > in any gcc changes.html. Shouldn't it be mentioned somewhere? > > I think the

Re: When was decimal floating point added to gcc?

2007-06-02 Thread Peter Bergner
On Sat, 2007-06-02 at 07:35 -0700, H. J. Lu wrote: > When was decimal floating point added to gcc? I couldn't find it > in any gcc changes.html. Shouldn't it be mentioned somewhere? I think these were the merges from the dfp-branch: http://gcc.gnu.org/ml/gcc-patches/2005-

When was decimal floating point added to gcc?

2007-06-02 Thread H. J. Lu
When was decimal floating point added to gcc? I couldn't find it in any gcc changes.html. Shouldn't it be mentioned somewhere? H.J.

Intel IEEE 754r Decimal Floating-Point BID Library (beta version) now available

2007-04-26 Thread Cornea, Marius
We would like to announce the availability of the "Intel IEEE 754r Decimal Floating-Point BID Library" (beta version), at http://www3.intel.com/cd/software/products/asmo-na/eng/219861.htm under 'Decimal Floating-Point', packaged as a tar file which includes a README file bes

Re: Decimal Floating-Point

2005-02-26 Thread Robert Dewar
David Starner wrote: The Wiki only mentions the C front-end. Is this going to require any back-end changes? Is there going to be any work done to make this work well with Ada (which already has decimal floating point), to make decimal floating-point values be passable between C and Ada functions

Decimal Floating-Point

2005-02-26 Thread David Starner
The Wiki only mentions the C front-end. Is this going to require any back-end changes? Is there going to be any work done to make this work well with Ada (which already has decimal floating point), to make decimal floating-point values be passable between C and Ada functions?