Permalink
Browse files

添加示例网页。

  • Loading branch information...
oldj committed Oct 14, 2012
1 parent a9a5e0c commit 18bba34c5b2257c9fbf3ef73457e6dc3edce87d3
Showing with 6 additions and 0 deletions.
  1. +3 −0 README.md
  2. +2 −0 bio.coffee
  3. +1 −0 bio.js
View
@@ -3,6 +3,7 @@
* Author: oldj
* Blog: http://oldj.net
+ * Example: http://oldj.net/static/js-BIO/eg.html
这是一个使用 JavaScript 进行大整数操作的类库,使用 CoffeeScript 编写。
本类库目前支持正整数的加、减、乘、除四则运算、求余,以及大于、等于、小于等比较运算。
@@ -11,6 +12,8 @@
##使用示例
+你可以在 [http://oldj.net/static/js-BIO/eg.html] 在线试用 js-BIO,或者在你自己的 JavaScript 程序中参考下面的示例。
+
var a = "218093290301725279849294552737145306526429515095910348328784867259719961681262317171990366018836471452273795738712382654617011499370332067465452153429131133154474494728461513797156576311424209209825768452476998761186844896333150192092696406370188813135474544186922431865203259468892782696696554856807492686240273426580684476908600903286664578178500293562463803241679236095343405558144595606432072340054",
b = "759453421168594746297585634824794585057708073795685055048450994660667302169842440997187780071628842999365618342370044730249364762070171939525787172608446535167458760784909718498489041640160903072085566658168644606091524276643802085431070120034640336353069020700940598038997582524596177336508",
c;
View
@@ -8,6 +8,8 @@
BIO =
+ version: "0.1.0.1"
+
__trans: (bn) ->
if not bn or not bn.match(/^\d+$/)
err = new Error()
View
1 bio.js

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 18bba34

Please sign in to comment.