タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

どう書くに関するt_ishidaのブックマーク (1)

  • Big Integers in JavaScript

    m'' uses secret p and q to be faster. P=c^d mod p Q=c^d mod q m''=((Q-P)*(p^-1) mod q)*p+P The library allows addition, subtraction, multiplication, division, exponentiation, and inverses modulo an arbitrary number. It has the extended Euclid algorithm, and can convert between bases up to base 95. It generates true prime numbers rather than probable primes. For Internet Explorer on a 1.8 GHz WinXP

    t_ishida
    t_ishida 2007/12/14
    フィボナッチ数列の2000番目とか、普通にやろうとすると無理っぽいので、この辺見とかないと。
  • 1