digitalmars.D - How to make a call to pow(real, uint) ?
- LXH (2/2) Jan 17 2005 It seems that you can't make a call to pow(real, uint). It gave me error...
- Huang Yicheng (3/7) Jan 18 2005 I have the same question-:)
- Manfred Nowak (5/6) Jan 18 2005 Seems you want to use "pow(2.0L, cast(uint)3)".
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).
Jan 17 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).
Jan 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
Jan 18 2005