We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b5dc7e commit dc3486aCopy full SHA for dc3486a
src/FFI.hs
@@ -2,6 +2,7 @@
2
3
module FFI
4
( getTime
5
+ , sin
6
, add
7
, getPi
8
, getNegPi
@@ -41,4 +42,3 @@ getNegPi = realToFrac c_get_neg_pi
41
42
foreign import ccall "neg_add" c_neg_add :: CInt -> CInt -> CInt
43
negAdd :: Int -> Int -> Int
44
negAdd x y = fromIntegral $ c_neg_add (toEnum x) (toEnum y)
-
0 commit comments