pow() function question

aeschere aeschere at nospam.cryptobit.org
Tue Nov 27 07:58:07 PST 2007


I am relatively new to D.  So far, I really like it.  However, I need to
 do some power functions on integers.  Is pow() the only way of
performing this type of function? It seems silly to have to either use
reals for integer work.  This was one of my gripes with C's pow()
function.  I check the news archives and noticed there was talk of
creating a '**' power function for integers back in 2005. I tried it but
it didn't work.

Michael
(remove nospam if you need to get a hold of me personally)


More information about the Digitalmars-d-learn mailing list