Thread overview
How to make a call to pow(real, uint) ?
Jan 18, 2005
LXH
Jan 18, 2005
Huang Yicheng
Jan 18, 2005
Manfred Nowak
January 18, 2005
It seems that you can't make a call to pow(real, uint). It gave me error message
even if using explicitly cast. pow(2.0, cast(uint)3).


January 18, 2005
I have the same question-:)
"LXH" <LXH_member@pathlink.com> wrote in message
news:csifii$j2f$1@digitaldaemon.com...
> It seems that you can't make a call to pow(real, uint). It gave me error
> message
> even if using explicitly cast. pow(2.0, cast(uint)3).
>
> 


January 18, 2005
LXH wrote:
[...]
> even if using explicitly cast. pow(2.0, cast(uint)3).

Seems you want to use "pow(2.0L, cast(uint)3)".
Please refer to the "lexical" section of the manual.

-manfred