[asterisk-dev] func_math.c

Matt Riddell (IT) matt.riddell at sineapps.com
Fri Sep 15 05:23:36 MST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kai Ober wrote:
> 
> at least i have done it....  :))
> 
> 
> plz look here
> 
> http://bugs.digium.com/view.php?id=7959
> 
> i included math.h
> 
> used pow
> and after that i mentioned that i could use LSHIFT as well
> so i implemented L and R shift as well
> 
> PLZ have a look, and lemme know if you see some issues with too big
> values for <num1> or <num2>
> 
> better ideas for <op>?  pow = P and  lshift =L???

Looks good to me.

I'd expect this would be considered a new feature, but is such a simple
patch, I'm not sure.

Code looks clean, no style problem.

- --
Cheers,

Matt Riddell
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://wap.sineapps.com (Daily Asterisk News for your cellphone)
http://feeds.feedburner.com/AsteriskNews (Daily Asterisk News - rss)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFCptIS6d5vy0jeVcRAm8RAJ9elIh1ZA7xnMVaBY1snci53cf7GgCfQgl6
DOebzwmVkRmcoXxm1O71rc8=
=bHyN
-----END PGP SIGNATURE-----


More information about the asterisk-dev mailing list