octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

potential problem with fftw changes


From: John W. Eaton
Subject: potential problem with fftw changes
Date: Mon, 16 Feb 2004 14:56:14 -0600

In the new FFTW code, you have

  char in_align = ((int) in) & 0xF;
  char out_align = ((int) out) & 0xF;

with in and out declared as double*.  I think this will produce a
warning on Alphas and other systems where sizeof (double*) != sizeof (int).
So probably this should use long instead?  But even then, it is a bit
of a kluge.  Is there any guarantee that a pointer will fit in a long?
Is there any better way to check the alignment?

Thanks,

jwe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]