summaryrefslogtreecommitdiff
path: root/packages/special/lib/Numeric/GSL/Special/Log.hs
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2012-03-13 11:21:21 +0100
committerAlberto Ruiz <aruiz@um.es>2012-03-13 11:21:21 +0100
commit9c4a8a37291f902312215452d0bdd9ad95408ae9 (patch)
tree72d468cfa9999dc079466f250883dfb131d016ba /packages/special/lib/Numeric/GSL/Special/Log.hs
parent6f6455593c0490e4710854b08fc63a2d0993dcac (diff)
parent032fe19ddfa6e4cfba33f76aaa13043b54568fcf (diff)
Merge remote-tracking branch 'wowus/master' into unsafe
Diffstat (limited to 'packages/special/lib/Numeric/GSL/Special/Log.hs')
-rw-r--r--packages/special/lib/Numeric/GSL/Special/Log.hs18
1 files changed, 9 insertions, 9 deletions
diff --git a/packages/special/lib/Numeric/GSL/Special/Log.hs b/packages/special/lib/Numeric/GSL/Special/Log.hs
index 3becf15..bbc88fe 100644
--- a/packages/special/lib/Numeric/GSL/Special/Log.hs
+++ b/packages/special/lib/Numeric/GSL/Special/Log.hs
@@ -30,36 +30,36 @@ import Numeric.GSL.Special.Internal
30 30
31log_e :: Double -> (Double,Double) 31log_e :: Double -> (Double,Double)
32log_e x = createSFR "log_e" $ gsl_sf_log_e x 32log_e x = createSFR "log_e" $ gsl_sf_log_e x
33foreign import ccall SAFE_CHEAP "gsl_sf_log_e" gsl_sf_log_e :: Double -> Ptr () -> IO CInt 33foreign import ccall unsafe "gsl_sf_log_e" gsl_sf_log_e :: Double -> Ptr () -> IO CInt
34 34
35log :: Double -> Double 35log :: Double -> Double
36log = gsl_sf_log 36log = gsl_sf_log
37foreign import ccall SAFE_CHEAP "gsl_sf_log" gsl_sf_log :: Double -> Double 37foreign import ccall unsafe "gsl_sf_log" gsl_sf_log :: Double -> Double
38 38
39log_abs_e :: Double -> (Double,Double) 39log_abs_e :: Double -> (Double,Double)
40log_abs_e x = createSFR "log_abs_e" $ gsl_sf_log_abs_e x 40log_abs_e x = createSFR "log_abs_e" $ gsl_sf_log_abs_e x
41foreign import ccall SAFE_CHEAP "gsl_sf_log_abs_e" gsl_sf_log_abs_e :: Double -> Ptr () -> IO CInt 41foreign import ccall unsafe "gsl_sf_log_abs_e" gsl_sf_log_abs_e :: Double -> Ptr () -> IO CInt
42 42
43log_abs :: Double -> Double 43log_abs :: Double -> Double
44log_abs = gsl_sf_log_abs 44log_abs = gsl_sf_log_abs
45foreign import ccall SAFE_CHEAP "gsl_sf_log_abs" gsl_sf_log_abs :: Double -> Double 45foreign import ccall unsafe "gsl_sf_log_abs" gsl_sf_log_abs :: Double -> Double
46 46
47complex_log_e :: Double -> Double -> ((Double,Double),(Double,Double)) 47complex_log_e :: Double -> Double -> ((Double,Double),(Double,Double))
48complex_log_e zr zi = create2SFR "complex_log_e" $ gsl_sf_complex_log_e zr zi 48complex_log_e zr zi = create2SFR "complex_log_e" $ gsl_sf_complex_log_e zr zi
49foreign import ccall SAFE_CHEAP "gsl_sf_complex_log_e" gsl_sf_complex_log_e :: Double -> Double -> Ptr () -> Ptr () -> IO CInt 49foreign import ccall unsafe "gsl_sf_complex_log_e" gsl_sf_complex_log_e :: Double -> Double -> Ptr () -> Ptr () -> IO CInt
50 50
51log_1plusx_e :: Double -> (Double,Double) 51log_1plusx_e :: Double -> (Double,Double)
52log_1plusx_e x = createSFR "log_1plusx_e" $ gsl_sf_log_1plusx_e x 52log_1plusx_e x = createSFR "log_1plusx_e" $ gsl_sf_log_1plusx_e x
53foreign import ccall SAFE_CHEAP "gsl_sf_log_1plusx_e" gsl_sf_log_1plusx_e :: Double -> Ptr () -> IO CInt 53foreign import ccall unsafe "gsl_sf_log_1plusx_e" gsl_sf_log_1plusx_e :: Double -> Ptr () -> IO CInt
54 54
55log_1plusx :: Double -> Double 55log_1plusx :: Double -> Double
56log_1plusx = gsl_sf_log_1plusx 56log_1plusx = gsl_sf_log_1plusx
57foreign import ccall SAFE_CHEAP "gsl_sf_log_1plusx" gsl_sf_log_1plusx :: Double -> Double 57foreign import ccall unsafe "gsl_sf_log_1plusx" gsl_sf_log_1plusx :: Double -> Double
58 58
59log_1plusx_mx_e :: Double -> (Double,Double) 59log_1plusx_mx_e :: Double -> (Double,Double)
60log_1plusx_mx_e x = createSFR "log_1plusx_mx_e" $ gsl_sf_log_1plusx_mx_e x 60log_1plusx_mx_e x = createSFR "log_1plusx_mx_e" $ gsl_sf_log_1plusx_mx_e x
61foreign import ccall SAFE_CHEAP "gsl_sf_log_1plusx_mx_e" gsl_sf_log_1plusx_mx_e :: Double -> Ptr () -> IO CInt 61foreign import ccall unsafe "gsl_sf_log_1plusx_mx_e" gsl_sf_log_1plusx_mx_e :: Double -> Ptr () -> IO CInt
62 62
63log_1plusx_mx :: Double -> Double 63log_1plusx_mx :: Double -> Double
64log_1plusx_mx = gsl_sf_log_1plusx_mx 64log_1plusx_mx = gsl_sf_log_1plusx_mx
65foreign import ccall SAFE_CHEAP "gsl_sf_log_1plusx_mx" gsl_sf_log_1plusx_mx :: Double -> Double 65foreign import ccall unsafe "gsl_sf_log_1plusx_mx" gsl_sf_log_1plusx_mx :: Double -> Double