On Friday 31 August 2007 5:50:36 pm Rex Dieter wrote: > Chris Jones wrote: > > Hi, > > > > I have a number crunch application that is starting to hit bottlenecks > > in standard maths functions, like log, exp sqrt etc. Thing is, in many > > places I don't need much precision, so was wondering if there was > > anything I could do, like use a different library or enable some gcc > > options (currently using -O2) to speed things up. > > gcc -ffast-math Yes, I tried that but it didn't seem to make as much difference as I had hoped it would... Chris