[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: [Help-gsl] compiler fast math options

**From**: |
Brian Gough |

**Subject**: |
Re: [Help-gsl] compiler fast math options |

**Date**: |
Tue, 1 Mar 2005 16:45:07 +0000 |

Nathan Moore writes:
>* 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.*
The -ffast-math option is not recommended for use with GSL. If you
build the library with that option the "make check" test suite will
fail.
--
regards,
Brian Gough
Network Theory Ltd,
Commercial support for GSL --- http://www.network-theory.co.uk/gsl/

[Prev in Thread] |
**Current Thread** |
[Next in Thread] |

**Re: [Help-gsl] compiler fast math options**,
*Brian Gough* **<=**