changeset 4031:edda4c177c59 libavcodec

asin() acos() atan()
author michael
date Mon, 16 Oct 2006 18:36:44 +0000
parents ffe1b004ecc7
children 0f2bb0baf6f0
files eval.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/eval.c	Mon Oct 16 17:44:29 2006 +0000
+++ b/eval.c	Mon Oct 16 18:36:44 2006 +0000
@@ -170,6 +170,9 @@
     else if( strmatch(next, "sin"   ) ) d= sin(d);
     else if( strmatch(next, "cos"   ) ) d= cos(d);
     else if( strmatch(next, "tan"   ) ) d= tan(d);
+    else if( strmatch(next, "atan"  ) ) d= atan(d);
+    else if( strmatch(next, "asin"  ) ) d= asin(d);
+    else if( strmatch(next, "acos"  ) ) d= acos(d);
     else if( strmatch(next, "exp"   ) ) d= exp(d);
     else if( strmatch(next, "log"   ) ) d= log(d);
     else if( strmatch(next, "squish") ) d= 1/(1+exp(4*d));