From: Adrian M. <ad...@mc...> - 2002-01-01 12:05:10
|
On Friday 28 Dec 2001 2:54 am, NIIBE Yutaka wrote: > Adrian McMenamin wrote: > > costab[k] = 1.0 / (2.0 * cos( 3.14159265358979323846 * ((double) k * 2.0 > > + 1.0) / (double) divv)); > > [...] > > > So: the questions are - is this a known problem, has it been fixed in > > later kernels or have I just got it wrong? > > I don't know if this is related, we have a FPU bug wrt floating point > to double conversion. For example, compiling runtime of Java, GCC > fails because of exception. > > I have experimental fix for this issue, I'll send this to linuxsh-dev > soon. Just to close this. I rebuilt my tools and upgraded to gcc 3.0.3 and now the programme compiles and runs fine. Not sure what the problem was exactly - could have been a badly patched compiler, could have been a corrupted library - but it works now. Adrian |