Sign in

username:

password:



Not a member?

Search oopic



Search tips

Subscribe to oopic



Ads

Discussion Groups

Discussion Groups | | Division in oMath

Division in oMath - mora_sutha - Apr 18 1:04:26 2008

Hello,

I'm using oMath object in a Virtual Circuit. There I need to
calculate an equation something as follows.
100 - (oKnob.position)/5

For this, subtraction is ok. But I want to know how I can divide a
value by 5 in oMath. Can anyone help in this pls?

Best Regards,

Sudarsan. G
------------------------------------



(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )


Re: Division in oMath - ooPIC Tech Support - Apr 18 23:22:01 2008

In short, you can't. The best that this module can do is multiply by
and divide by multiples of 2 using the shift functions.

DLC

mora_sutha wrote:
> Hello,
>
> I'm using oMath object in a Virtual Circuit. There I need to
> calculate an equation something as follows.
> 100 - (oKnob.position)/5
>
> For this, subtraction is ok. But I want to know how I can divide a
> value by 5 in oMath. Can anyone help in this pls?
>
> Best Regards,
>
> Sudarsan. G
> ------------------------------------



(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )