[Top][All Lists]

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

[Help-gsl] compiler fast math options

From: Nathan Moore
Subject: [Help-gsl] compiler fast math options
Date: Wed, 16 Feb 2005 12:42:37 -0600

I'm working on a project which will use GSL integration routines and random number generators. In the interest of code execution speed, I'm wondering if GSL is picky about the standard Math library. Specifically, I've read in the past that if you're not concerned about (1) the inclusion of extra precision or (2) you code doesn't rely on an error flag when it encounters something like sqrt(-3.25) then there' is no real risk in enabling the "fast-math" option in the compiler.

Does this sort of logic (with appropriate error checking) hold true when interacting with GSL?

Nathan Moore, Minneapolis

reply via email to

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