diff options
author | Alberto Ruiz <aruiz@um.es> | 2010-02-20 13:14:04 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2010-02-20 13:14:04 +0000 |
commit | bbf07a5b76cf196007adcfe2bfc954440843ce2f (patch) | |
tree | 5c3162567bfdd6761b2217641f49dd9ef5480aae /lib/Numeric/GSL/Special/Pow_int.hs | |
parent | 7f94a70d57d44c1b0d63226684c008edde2678c9 (diff) |
safe-cheap flag
Diffstat (limited to 'lib/Numeric/GSL/Special/Pow_int.hs')
-rw-r--r-- | lib/Numeric/GSL/Special/Pow_int.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Numeric/GSL/Special/Pow_int.hs b/lib/Numeric/GSL/Special/Pow_int.hs index d98bd57..fd232ab 100644 --- a/lib/Numeric/GSL/Special/Pow_int.hs +++ b/lib/Numeric/GSL/Special/Pow_int.hs | |||
@@ -23,8 +23,8 @@ import Numeric.GSL.Special.Internal | |||
23 | 23 | ||
24 | pow_int_e :: Double -> CInt -> (Double,Double) | 24 | pow_int_e :: Double -> CInt -> (Double,Double) |
25 | pow_int_e x n = createSFR "pow_int_e" $ gsl_sf_pow_int_e x n | 25 | pow_int_e x n = createSFR "pow_int_e" $ gsl_sf_pow_int_e x n |
26 | foreign import ccall "gsl_sf_pow_int_e" gsl_sf_pow_int_e :: Double -> CInt -> Ptr () -> IO CInt | 26 | foreign import ccall SAFE_CHEAP "gsl_sf_pow_int_e" gsl_sf_pow_int_e :: Double -> CInt -> Ptr () -> IO CInt |
27 | 27 | ||
28 | pow_int :: Double -> CInt -> Double | 28 | pow_int :: Double -> CInt -> Double |
29 | pow_int = gsl_sf_pow_int | 29 | pow_int = gsl_sf_pow_int |
30 | foreign import ccall "gsl_sf_pow_int" gsl_sf_pow_int :: Double -> CInt -> Double | 30 | foreign import ccall SAFE_CHEAP "gsl_sf_pow_int" gsl_sf_pow_int :: Double -> CInt -> Double |