Thread overview | |||||
---|---|---|---|---|---|
|
January 18, 2005 How to make a call to pow(real, uint) ? | ||||
---|---|---|---|---|
| ||||
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 Re: How to make a call to pow(real, uint) ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to LXH | 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 Re: How to make a call to pow(real, uint) ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to LXH |
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
|
Copyright © 1999-2021 by the D Language Foundation