OT : Approximate / fast math libraries ?

Rex Dieter rdieter at math.unl.edu
Fri Aug 31 16:50:36 UTC 2007


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
?


-- Rex




More information about the users mailing list