Browse code

asin() acos() atan()

Originally committed as revision 6712 to svn://svn.ffmpeg.org/ffmpeg/trunk

Michael Niedermayer authored on 2006/10/17 03:36:44
Showing 1 changed files
... ...
@@ -170,6 +170,9 @@ static double evalPrimary(Parser *p){
170 170
     else if( strmatch(next, "sin"   ) ) d= sin(d);
171 171
     else if( strmatch(next, "cos"   ) ) d= cos(d);
172 172
     else if( strmatch(next, "tan"   ) ) d= tan(d);
173
+    else if( strmatch(next, "atan"  ) ) d= atan(d);
174
+    else if( strmatch(next, "asin"  ) ) d= asin(d);
175
+    else if( strmatch(next, "acos"  ) ) d= acos(d);
173 176
     else if( strmatch(next, "exp"   ) ) d= exp(d);
174 177
     else if( strmatch(next, "log"   ) ) d= log(d);
175 178
     else if( strmatch(next, "squish") ) d= 1/(1+exp(4*d));