pow

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rudra

    pow

    in c++, pow is double, is there anyway to consider pow as integer?
  • Lionel B

    #2
    Re: pow

    On Tue, 15 Jul 2008 01:31:38 -0700, rudra wrote:
    in c++, pow is double, is there anyway to consider pow as integer?
    Cast the result to an integer?

    --
    Lionel B

    Comment

    • Zeppe

      #3
      Re: pow

      rudra wrote:
      in c++, pow is double, is there anyway to consider pow as integer?
      converting it to an int? (if it is the representable range)

      Regards,

      Zeppe

      Comment

      • joseph  cook

        #4
        Re: pow

        On Jul 15, 4:31 am, rudra <bnrj.ru...@gma il.comwrote:
        pow
        right in the kisser!

        Comment

        Working...