Finding Integer Square Roots using NN library

I am looking for a more efficient way of finding the Integer Square Root of a 128bit number... Need to use the NN Library one of the platforms I will use this on, has not enough memory for BigNum or MPZ void NN_SquareRoot(NN_DIGIT *output, NN_DIGIT *input, int digits) { NN_DIGIT divisor[NS*2], Temp[NS*2], Temp2[NS*2], Temp3[NS*2]; int t; int i; int g; unsigned char temp3[16]; NN_AssignZero(Temp2,NS); for(t=0;t

以上就是Finding Integer Square Roots using NN library的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » CSS3 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准