diff options
author | Alberto Ruiz <aruiz@um.es> | 2008-01-21 21:40:07 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2008-01-21 21:40:07 +0000 |
commit | 17749900a9146ddf6cd8ebf59dc35e56d6bff413 (patch) | |
tree | d352b7b155ebf650cd41a134aeb39450e54163b2 /lib/Numeric/GSL/Special/Clausen.hs | |
parent | 4fb0006a2227d3d5293a53b88ef67ce6ebd73440 (diff) |
IO CInt results
Diffstat (limited to 'lib/Numeric/GSL/Special/Clausen.hs')
-rw-r--r-- | lib/Numeric/GSL/Special/Clausen.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Numeric/GSL/Special/Clausen.hs b/lib/Numeric/GSL/Special/Clausen.hs index 3052187..9f509cc 100644 --- a/lib/Numeric/GSL/Special/Clausen.hs +++ b/lib/Numeric/GSL/Special/Clausen.hs | |||
@@ -20,6 +20,7 @@ module Numeric.GSL.Special.Clausen( | |||
20 | ) where | 20 | ) where |
21 | 21 | ||
22 | import Foreign(Ptr) | 22 | import Foreign(Ptr) |
23 | import Foreign.C.Types(CInt) | ||
23 | import Numeric.GSL.Special.Internal | 24 | import Numeric.GSL.Special.Internal |
24 | 25 | ||
25 | -- | wrapper for int gsl_sf_clausen_e(double x,gsl_sf_result* result); | 26 | -- | wrapper for int gsl_sf_clausen_e(double x,gsl_sf_result* result); |
@@ -27,7 +28,7 @@ import Numeric.GSL.Special.Internal | |||
27 | -- <http://www.google.com/search?q=gsl_sf_clausen_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 28 | -- <http://www.google.com/search?q=gsl_sf_clausen_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> |
28 | clausen_e :: Double -> (Double,Double) | 29 | clausen_e :: Double -> (Double,Double) |
29 | clausen_e x = createSFR "clausen_e" $ gsl_sf_clausen_e x | 30 | clausen_e x = createSFR "clausen_e" $ gsl_sf_clausen_e x |
30 | foreign import ccall "clausen.h gsl_sf_clausen_e" gsl_sf_clausen_e :: Double -> Ptr Double -> IO(Int) | 31 | foreign import ccall "clausen.h gsl_sf_clausen_e" gsl_sf_clausen_e :: Double -> Ptr () -> IO CInt |
31 | 32 | ||
32 | -- | wrapper for double gsl_sf_clausen(double x); | 33 | -- | wrapper for double gsl_sf_clausen(double x); |
33 | -- | 34 | -- |