summaryrefslogtreecommitdiff
path: root/packages/special/lib/Numeric/GSL/Special/Elementary.hs
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2012-03-13 14:51:12 +0100
committerAlberto Ruiz <aruiz@um.es>2012-03-13 14:51:12 +0100
commit072055e1658fa6fd64a4462b6a243ec0f5e5cdb4 (patch)
tree09e3a46185a1ee231cdddab6955437a2b0ead601 /packages/special/lib/Numeric/GSL/Special/Elementary.hs
parent9c4a8a37291f902312215452d0bdd9ad95408ae9 (diff)
revert to SAFE_CHEAP macro, unsafe by default
Diffstat (limited to 'packages/special/lib/Numeric/GSL/Special/Elementary.hs')
-rw-r--r--packages/special/lib/Numeric/GSL/Special/Elementary.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/special/lib/Numeric/GSL/Special/Elementary.hs b/packages/special/lib/Numeric/GSL/Special/Elementary.hs
index 609081b..e58a697 100644
--- a/packages/special/lib/Numeric/GSL/Special/Elementary.hs
+++ b/packages/special/lib/Numeric/GSL/Special/Elementary.hs
@@ -24,12 +24,12 @@ import Numeric.GSL.Special.Internal
24 24
25multiply_e :: Double -> Double -> (Double,Double) 25multiply_e :: Double -> Double -> (Double,Double)
26multiply_e x y = createSFR "multiply_e" $ gsl_sf_multiply_e x y 26multiply_e x y = createSFR "multiply_e" $ gsl_sf_multiply_e x y
27foreign import ccall unsafe "gsl_sf_multiply_e" gsl_sf_multiply_e :: Double -> Double -> Ptr () -> IO CInt 27foreign import ccall SAFE_CHEAP "gsl_sf_multiply_e" gsl_sf_multiply_e :: Double -> Double -> Ptr () -> IO CInt
28 28
29multiply :: Double -> Double -> Double 29multiply :: Double -> Double -> Double
30multiply = gsl_sf_multiply 30multiply = gsl_sf_multiply
31foreign import ccall unsafe "gsl_sf_multiply" gsl_sf_multiply :: Double -> Double -> Double 31foreign import ccall SAFE_CHEAP "gsl_sf_multiply" gsl_sf_multiply :: Double -> Double -> Double
32 32
33multiply_err_e :: Double -> Double -> Double -> Double -> (Double,Double) 33multiply_err_e :: Double -> Double -> Double -> Double -> (Double,Double)
34multiply_err_e x dx y dy = createSFR "multiply_err_e" $ gsl_sf_multiply_err_e x dx y dy 34multiply_err_e x dx y dy = createSFR "multiply_err_e" $ gsl_sf_multiply_err_e x dx y dy
35foreign import ccall unsafe "gsl_sf_multiply_err_e" gsl_sf_multiply_err_e :: Double -> Double -> Double -> Double -> Ptr () -> IO CInt 35foreign import ccall SAFE_CHEAP "gsl_sf_multiply_err_e" gsl_sf_multiply_err_e :: Double -> Double -> Double -> Double -> Ptr () -> IO CInt