pow() & modulo QUESTION

Page 1 of 1

1 Replies - 395 Views - Last Post: 01 April 2016 - 05:07 PM Rate Topic: -----

#1 amy.vaulhausen  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 27
  • Joined: 01-April 16

pow() & modulo QUESTION

Posted 01 April 2016 - 04:52 PM

Having trouble performing the pow() function with
real numbers.

I want to also take a modulo value....

Weirdly, this works fine ;

pow(2,6000,400) = 176

However, this returns an error ;

pow(1.4142, 6000, 400)

I have tried also the math.pow() function but it doesnt
work either..... can any one give me a hand with this?
Is This A Good Question/Topic? 0
  • +

Replies To: pow() & modulo QUESTION

#2 macosxnerd101  Icon User is online

  • Games, Graphs, and Auctions
  • member icon




Reputation: 12135
  • View blog
  • Posts: 45,120
  • Joined: 27-December 08

Re: pow() & modulo QUESTION

Posted 01 April 2016 - 05:07 PM

Please do not duplicate post. Note as well that the Discussion Lounge forums are not for debugging help.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1