Commit cacb17b4 authored by Michael Niedermayer's avatar Michael Niedermayer

asin() acos() atan()

Originally committed as revision 6712 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 9f1c1c99
...@@ -170,6 +170,9 @@ static double evalPrimary(Parser *p){ ...@@ -170,6 +170,9 @@ static double evalPrimary(Parser *p){
else if( strmatch(next, "sin" ) ) d= sin(d); else if( strmatch(next, "sin" ) ) d= sin(d);
else if( strmatch(next, "cos" ) ) d= cos(d); else if( strmatch(next, "cos" ) ) d= cos(d);
else if( strmatch(next, "tan" ) ) d= tan(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, "exp" ) ) d= exp(d);
else if( strmatch(next, "log" ) ) d= log(d); else if( strmatch(next, "log" ) ) d= log(d);
else if( strmatch(next, "squish") ) d= 1/(1+exp(4*d)); else if( strmatch(next, "squish") ) d= 1/(1+exp(4*d));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment