Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
add acos, asin
  • Loading branch information
coke committed Apr 16, 2012
1 parent 1f8d97f commit f7180f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Pugs/src/Pugs/Prim.hs
Expand Up @@ -159,6 +159,8 @@ op1 "sin" = op1Floating sin
op1 "tan" = op1Floating tan
op1 "sqrt" = op1Floating sqrt
op1 "atan" = op1Floating atan
op1 "acos" = op1Floating cos
op1 "asin" = op1Floating sin
op1 "post:i" = \x -> do
n <- fromVal x
return $ VComplex (0 :+ n)
Expand Down Expand Up @@ -1885,6 +1887,8 @@ initSyms = seq (length syms) $ do
\\n Num pre cos safe (Num)\
\\n Num pre sin safe (Num)\
\\n Num pre tan safe (Num)\
\\n Num pre acos safe (Num)\
\\n Num pre asin safe (Num)\
\\n Any pre Pugs::Internals::pi safe ()\
\\n Any pre self safe,macro ()\
\\n Bool pre nothing safe ()\
Expand Down

0 comments on commit f7180f8

Please sign in to comment.