[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2m] Re: [ATL] Re: Syntax for Math.pow() funtion in ATL

Hello,

This page http://en.wikipedia.org/wiki/Exponentiation#Real_powers indicates that you can compute pow with exp and log functions:

	b^x = exp(x*log(b))

Best regards,

William


venkatesh a écrit :
Hello William ,

I have tried using exp () and log funtion instead of power and min math funtion in java

if i give  let var :Integer=  2.exp()  it's working fine

but i want  2 raise to the power 8 (2^8) how to represent this in a exp()

there is no example to use this exp() & log() function .

can u please give me some example.

Thanks

venkatesh