Re: [eigen] About Complex numbers Todo

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi Bastien,

actually we already rely on that, and this todo item have been
unofficially dropped but we forgot to remove it from the todo page.

I'll try to do a cleaning pass on this page. thanks.

gael

On Fri, Aug 20, 2010 at 11:09 AM, Bastien ROUCARIES
<roucaries.bastien@xxxxxxxxx> wrote:
> On Fri, Aug 20, 2010 at 10:41 AM, Carlos Becker <carlosbecker@xxxxxxxxx> wrote:
>> Hi Bastien. If I get things right then there might be two issues with this:
>> first it is only for C++0x, so older C++ versions would not be supported..
>
> In theory yes, but in pratice no. All the major compiler team are part
> of the standard board. And if g++ does not support this we could open
> soon a bug report.
>
>
>> Furthermore, and if I remember correctly, complex numbers are stored in
>> memory as an array, even though it might be hidden by a struct or class.
>
> That is the point.  At least it "array[2] storage layout which makes
> many optimizations unsafe" is not true because standard board has
> agree since 2004 that the next standard will use implicitlty this
> layout. So the layout is guaranted by pratice (see the remark in the
> standard rationnale) in the current state of standard and officially
> for the next standard.
>
> And BTW c++ user should use recent compiler see for instance the bug :
> http://gcc.gnu.org/viewcvs?view=revision&revision=156874
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43108
>
> Bastien
>
>
>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/