[asterisk-dev] func_math.c

Kai Ober kast.asterisk at gmx.de
Fri Sep 15 05:15:18 MST 2006


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???

Regards
KAI
---
thx for calling

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Kai Ober wrote:
>   
>> Hi Dev-list
>> Is there a reason why MATH can't do  Exponentiation?
>>     
>
> Because you haven't yet submitted the patch for it?
>
> :)
>
> - --
> 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
>
> iD8DBQFFCpRvS6d5vy0jeVcRAsxxAJ9nUuJS//46Z6LHgp9Kswfs7wuRCwCfSuIQ
> 2SGyWTLWm2+SyXIAczmrgeg=
> =FMjm
> -----END PGP SIGNATURE-----
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>
>   



More information about the asterisk-dev mailing list