revaultch / gwtx

Automatically exported from code.google.com/p/gwtx
0 stars 0 forks source link

BigDecimal?BigInteger? #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
你们计划增加这两个数据类型吗?(These two types of data you plan 
to increase?)
1,在项目开发中它们的使用相当多,是一个种基础(the use 
of a considerable
number of their project development is a kind of foundation)

Original issue reported on code.google.com by wylpeace@gmail.com on 8 Dec 2006 at 3:18

GoogleCodeExporter commented 8 years ago
I started to get them emulated them but then I realized that JavaScript handles 
longs
and doubles differently than Java. If you know of a arbitrary-precision 
arithmetic
library written in JavaScript then maybe I work from there. But right now I'm 
not
sure how to do arbitrary-precision arithmetic in JavaScript

Original comment by sandy...@gmail.com on 8 Dec 2006 at 3:53

GoogleCodeExporter commented 8 years ago
This has a BigInteger-like JavaScript implementation
http://www-cs-students.stanford.edu/~tjw/jsbn/

This has a BigDecimal implementation.
http://stz-ida.de/html/oss/js_bigdecimal.html.en

I'll take a look at them when I get some time.

Original comment by sandy...@gmail.com on 8 Dec 2006 at 4:01

GoogleCodeExporter commented 8 years ago
There's already an implementation of BigDecimal and BigInteger in gwt-math 
project:
http://code.google.com/p/gwt-math/

Original comment by cedric.l...@gmail.com on 30 Sep 2008 at 1:05

GoogleCodeExporter commented 8 years ago
gwt-math allready provide good support for BigDecimals and could be integrated 
in 
GWT-code. There is no need for another emulation in gwtx for this.

Original comment by nicolas....@gmail.com on 2 Oct 2008 at 12:58