My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Yesterday

  • 36 hours ago
    issue 23 (Implementation of BigInteger.gcd(BigInteger)) reported by hend...@helwich.de   -   Hello, thank you for this project! I like it, but missed the operation BigInteger.gcd(BigInteger). I implemented it like this: public BigInteger gcd(BigInteger b) { if (ZERO.equals(this)) return b; BigInteger a = this; while (! ZERO.equals(b)) if (a.compareTo(b) > 0) // a > b ? a = a.subtract(b); else b = b.subtract(a); return a; } If you find it useful, you could include it for the next one who needs this operation. Greets Hendrik
    Hello, thank you for this project! I like it, but missed the operation BigInteger.gcd(BigInteger). I implemented it like this: public BigInteger gcd(BigInteger b) { if (ZERO.equals(this)) return b; BigInteger a = this; while (! ZERO.equals(b)) if (a.compareTo(b) > 0) // a > b ? a = a.subtract(b); else b = b.subtract(a); return a; } If you find it useful, you could include it for the next one who needs this operation. Greets Hendrik

Last 30 days

  • Dec 10, 2009
    issue 10 (Combine MathContext.js and BigDecimal.js into one file) commented on by Ulrik.Skyt   -   I agree completely. Inlining into java would have the huge benefit of the compiler optimizing away all the code that is not actually used! But if the file(s) are kept as separate javascript, it would be good with a version-specific name, e.g. gwt-math-2.1.1.js, so that the web application with some sanity can be configured to deliver the file(s) with a "far future" http Expires header (e.g. now + 1 year). This would make the file(s) perfectly cacheable in the browser as well as http proxy servers. And it would be "safe" because an updated version would have a different name, and therefore to the caches appear to be a totally different resource.
    I agree completely. Inlining into java would have the huge benefit of the compiler optimizing away all the code that is not actually used! But if the file(s) are kept as separate javascript, it would be good with a version-specific name, e.g. gwt-math-2.1.1.js, so that the web application with some sanity can be configured to deliver the file(s) with a "far future" http Expires header (e.g. now + 1 year). This would make the file(s) perfectly cacheable in the browser as well as http proxy servers. And it would be "safe" because an updated version would have a different name, and therefore to the caches appear to be a totally different resource.

Older

  • Oct 27, 2009
    issue 22 (ibiblio/maven gwt-math-2.1.0 upload) reported by binarymonk01   -   Could the following location get updated with the new 2.1 version. http://mirrors.ibiblio.org/pub/mirrors/maven2/com/google/code/gwt-math/
    Could the following location get updated with the new 2.1 version. http://mirrors.ibiblio.org/pub/mirrors/maven2/com/google/code/gwt-math/
  • Oct 15, 2009
    issue 16 (pow function) commented on by mbaker.pdx   -   Marco, from what I can tell this is actually not fixed in the 2.1 release. BigDecimal is a port from the Java class of the same name. However the power function depends upon an integer overflow which will not occur in javascript: 2405 n=n+n; // shift left 1 bit 2406 if (n<0) I got in touch with the original author, he provided the fix below: 2405 n<<=1; // shift left 1 bit 2406 if (n<0) Hope this helps, Matt
    Marco, from what I can tell this is actually not fixed in the 2.1 release. BigDecimal is a port from the Java class of the same name. However the power function depends upon an integer overflow which will not occur in javascript: 2405 n=n+n; // shift left 1 bit 2406 if (n<0) I got in touch with the original author, he provided the fix below: 2405 n<<=1; // shift left 1 bit 2406 if (n<0) Hope this helps, Matt
  • Oct 14, 2009
    issue 17 (excpetion after rpc return: "Value of BigDecimal isn't a rig...) commented on by peterclemons   -   Seems to me this is still a problem ...and I DO have the bigdecimal.js and amathcontext.js in my [webapp]/js/ directory. Of course, I didn't put these files in there myself, but the compiler did (pulled from gwt-math-2.1.jar). I've also tried placing these files in various other location, but with no luck! Please help!!
    Seems to me this is still a problem ...and I DO have the bigdecimal.js and amathcontext.js in my [webapp]/js/ directory. Of course, I didn't put these files in there myself, but the compiler did (pulled from gwt-math-2.1.jar). I've also tried placing these files in various other location, but with no luck! Please help!!
  • Sep 24, 2009
    issue 21 (java.lang.SecurityException: Prohibited package name: java.m...) commented on by yasmeen.naik   -   got it fixed. Had issues with domain bean settings for gwtent reflection.
    got it fixed. Had issues with domain bean settings for gwtent reflection.
  • Sep 22, 2009
    issue 21 (java.lang.SecurityException: Prohibited package name: java.m...) reported by yasmeen.naik   -   What steps will reproduce the problem? 1. What steps will reproduce the problem? 1.My Pojo has couple of fields of data type java.math.BigDecimal 2. Added math jars to classpath & inherited module in GWT.xml (gwt-math.jar & gwt-math-server.jar & <inherits name="com.googlecode.gwt.math.Math" />) http://code.google.com/p/gwt-math/ 3. ClassType classType = TypeOracle.Instance.getClassType(pojoObject.getClass()); What is the expected output? What do you see instead? use gwtent's reflection api [ERROR] Failed to create an instance of 'com.gwtent.client.reflection.TypeOracle' via deferred binding java.lang.SecurityException: Prohibited package name: java.math at java.lang.ClassLoader.preDefineClass(ClassLoader.java:479) at java.lang.ClassLoader.defineClass(ClassLoader.java:614) at java.lang.ClassLoader.defineClass(ClassLoader.java:465) at com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:629) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at com.gwtent.client.reflection.TypeOracle_Visitor$java_math_InternalBigDecimal.<init>(transient source for com.gwtent.client.reflection.TypeOracle_Visitor:3472) at com.gwtent.client.reflection.TypeOracle_Visitor.<init>(transient source for com.gwtent.client.reflection.TypeOracle_Visitor:5829) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:373) at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:39) at com.google.gwt.core.client.GWT.create(GWT.java:91) at com.gwtent.client.reflection.TypeOracle.<clinit>(TypeOracle.java:25) at com.citi.gdos.vce.client.utils.datasource.GWTRPCDataSource.getValueOfEntityField(GWTRPCDataSource.java:291) at com.citi.gdos.vce.client.utils.datasource.GWTRPCDataSource.copyEntityRecordToGridRecord(GWTRPCDataSource.java:265) What version of the product are you using? On what operating system? Please provide any additional information below. Enironment : GWT 1.6, SMART GWT 1.2 gwt-math-2.1.jar & gwt-math-server-2.1.jar gwtent.jat (latest verion gwt-ent-0.7) Windows XP 2002 MY POJO import com.gwtent.client.reflection.Reflection; import java.math.BigDecimal; import java.util.Date; public class DimExecutionCost implements java.io.Serializable , Reflection { private static final long serialVersionUID = 389980682318637939L; private long dwExecCostId; private BigDecimal fee; private char feeBasis; private String venue; etc ... }
    What steps will reproduce the problem? 1. What steps will reproduce the problem? 1.My Pojo has couple of fields of data type java.math.BigDecimal 2. Added math jars to classpath & inherited module in GWT.xml (gwt-math.jar & gwt-math-server.jar & <inherits name="com.googlecode.gwt.math.Math" />) http://code.google.com/p/gwt-math/ 3. ClassType classType = TypeOracle.Instance.getClassType(pojoObject.getClass()); What is the expected output? What do you see instead? use gwtent's reflection api [ERROR] Failed to create an instance of 'com.gwtent.client.reflection.TypeOracle' via deferred binding java.lang.SecurityException: Prohibited package name: java.math at java.lang.ClassLoader.preDefineClass(ClassLoader.java:479) at java.lang.ClassLoader.defineClass(ClassLoader.java:614) at java.lang.ClassLoader.defineClass(ClassLoader.java:465) at com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:629) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at com.gwtent.client.reflection.TypeOracle_Visitor$java_math_InternalBigDecimal.<init>(transient source for com.gwtent.client.reflection.TypeOracle_Visitor:3472) at com.gwtent.client.reflection.TypeOracle_Visitor.<init>(transient source for com.gwtent.client.reflection.TypeOracle_Visitor:5829) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:373) at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:39) at com.google.gwt.core.client.GWT.create(GWT.java:91) at com.gwtent.client.reflection.TypeOracle.<clinit>(TypeOracle.java:25) at com.citi.gdos.vce.client.utils.datasource.GWTRPCDataSource.getValueOfEntityField(GWTRPCDataSource.java:291) at com.citi.gdos.vce.client.utils.datasource.GWTRPCDataSource.copyEntityRecordToGridRecord(GWTRPCDataSource.java:265) What version of the product are you using? On what operating system? Please provide any additional information below. Enironment : GWT 1.6, SMART GWT 1.2 gwt-math-2.1.jar & gwt-math-server-2.1.jar gwtent.jat (latest verion gwt-ent-0.7) Windows XP 2002 MY POJO import com.gwtent.client.reflection.Reflection; import java.math.BigDecimal; import java.util.Date; public class DimExecutionCost implements java.io.Serializable , Reflection { private static final long serialVersionUID = 389980682318637939L; private long dwExecCostId; private BigDecimal fee; private char feeBasis; private String venue; etc ... }
  • Sep 03, 2009
    issue 20 (new BigDecimal(Biginteger val, int scale)) reported by eng.luis   -   Why this can't be implemented? Wouldn't it be something like this ??? :\ public BigDecimal(BigInteger val) { this( "" + val ); } public BigDecimal(BigInteger unscaledVal, int scale) { this( "" + val ); setScale(scale); }
    Why this can't be implemented? Wouldn't it be something like this ??? :\ public BigDecimal(BigInteger val) { this( "" + val ); } public BigDecimal(BigInteger unscaledVal, int scale) { this( "" + val ); setScale(scale); }
  • Aug 21, 2009
    issue 12 (gwt-math in maven repository) commented on by andriy.godovanets   -   Please, if you have time add new version 2.1 to public maven repo. Thanks!
    Please, if you have time add new version 2.1 to public maven repo. Thanks!
  • Aug 16, 2009
    issue 2 (Reduce bigdecimal.js file size) commented on by alaaellethey.as   -   YES, WE NEED A WAY TO REDUCE THE FINAL GENERATED JAVA SCRIPT FILE THIS WILL BE GOOD FOR THE BIG APPLICATIONS
    YES, WE NEED A WAY TO REDUCE THE FINAL GENERATED JAVA SCRIPT FILE THIS WILL BE GOOD FOR THE BIG APPLICATIONS
  • Aug 06, 2009
    r52 (populate repo for 2.1) committed by marco.gervasoni   -   populate repo for 2.1
    populate repo for 2.1
  • Aug 06, 2009
    issue 12 (gwt-math in maven repository) Status changed by marco.gervasoni   -   the repo is http://gwt-math.googlecode.com/svn/maven2
    Status: Done
  • Aug 06, 2009
    r51 ([No log message]) committed by marco.gervasoni   -   [No log message]
    [No log message]
  • Aug 06, 2009
    r50 ([No log message]) committed by marco.gervasoni   -   [No log message]
    [No log message]
  • Aug 06, 2009
    issue 19 (BigDecimal does not extend Number ) Status changed by marco.gervasoni   -   Fixed in 2.1
    Status: Fixed
    Fixed in 2.1
    Status: Fixed
  • Aug 06, 2009
    issue 18 (Failed to serialize from server side to client side while wo...) Status changed by marco.gervasoni   -   Fixed in 2.1
    Status: Fixed
    Fixed in 2.1
    Status: Fixed
  • Aug 06, 2009
    issue 16 (pow function) Status changed by marco.gervasoni   -   Fixed in 2.1 but the right method is pow(int) ....
    Status: Fixed
    Fixed in 2.1 but the right method is pow(int) ....
    Status: Fixed
  • Aug 06, 2009
    issue 15 (Constructor should throw NumberFormatException, not IllegalA...) Status changed by marco.gervasoni   -   Fixed in 2.1
    Status: Fixed
    Fixed in 2.1
    Status: Fixed
  • Aug 06, 2009
    issue 14 (add method valueOf(logn) to BigDecimal) Status changed by marco.gervasoni   -  
    Status: Fixed
    Status: Fixed
  • Aug 06, 2009
    issue 14 (add method valueOf(logn) to BigDecimal) commented on by marco.gervasoni   -   Fixed in 2.1
    Fixed in 2.1
  • Aug 06, 2009
    issue 13 (BigInteger/BigDecimal should implement Comparable) Status changed by marco.gervasoni   -   Fixed in 2.1
    Status: Fixed
    Fixed in 2.1
    Status: Fixed
  • Aug 06, 2009
    issue 11 (gwt-math should not require Java 6) Status changed by marco.gervasoni   -   Fixed in 2.1
    Status: Fixed
    Fixed in 2.1
    Status: Fixed
  • Aug 06, 2009
    issue 9 (Add method doubleValue() to BigDecimal ) Status changed by marco.gervasoni   -   Fixed in 2.1
    Status: Fixed
    Fixed in 2.1
    Status: Fixed
  • Aug 06, 2009
    issue 8 (Add BigDecimal constants ZERO, ONE, and TEN.) Status changed by marco.gervasoni   -   Fixed in 2.1
    Status: Fixed
    Fixed in 2.1
    Status: Fixed
  • Aug 06, 2009
    issue 7 (Add BigDecimal(double val) constructor) Status changed by marco.gervasoni   -   Fix in 2.1
    Status: Fixed
    Fix in 2.1
    Status: Fixed
  • Aug 06, 2009
    r49 (...) committed by marco.gervasoni   -   ...
    ...
  • Aug 06, 2009
    gwt-math-server-2.1.jar (new version 2.1) file uploaded by marco.gervasoni   -  
    Labels: Featured
    Labels: Featured
  • Aug 06, 2009
    gwt-math-2.1.jar (new version 2.1) file uploaded by marco.gervasoni   -  
    Labels: Featured
    Labels: Featured
  • Aug 06, 2009
    r48 (2.1) committed by marco.gervasoni   -   2.1
    2.1
  • Aug 05, 2009
    r47 (resolved bugs) committed by marco.gervasoni   -   resolved bugs
    resolved bugs
  • Aug 05, 2009
    r46 ([No log message]) committed by marco.gervasoni   -   [No log message]
    [No log message]
  • Jul 24, 2009
    issue 18 (Failed to serialize from server side to client side while wo...) commented on by paul.alok   -   Seems like the problem is related to JDK 1.5/1.6 check http://code.google.com/p/gwt-math/issues/detail?id=11
    Seems like the problem is related to JDK 1.5/1.6 check http://code.google.com/p/gwt-math/issues/detail?id=11
  • Jul 24, 2009
    issue 19 (BigDecimal does not extend Number ) reported by paul.alok   -   What steps will reproduce the problem? 1. Create a instance. BigDecimal bigDecimalnumber = new BigDecimal("12.34"); 2. get double value ((Number) bigDecimalnumber ).doubleValue() 3. runs fine in hosted mode. throws exception in compiled mode. What is the expected output? What do you see instead? BigDecimal should extend Number and method like doubleValue(), longValue() should work What version of the product are you using? On what operating system? The latest version gwt-math-server-2.0.3.jar Please provide any additional information below.
    What steps will reproduce the problem? 1. Create a instance. BigDecimal bigDecimalnumber = new BigDecimal("12.34"); 2. get double value ((Number) bigDecimalnumber ).doubleValue() 3. runs fine in hosted mode. throws exception in compiled mode. What is the expected output? What do you see instead? BigDecimal should extend Number and method like doubleValue(), longValue() should work What version of the product are you using? On what operating system? The latest version gwt-math-server-2.0.3.jar Please provide any additional information below.
  • Jul 19, 2009
    issue 13 (BigInteger/BigDecimal should implement Comparable) commented on by ruslan.s.shevchenko   -   patch is attached
    patch is attached
  • Jul 15, 2009
    issue 18 (Failed to serialize from server side to client side while wo...) reported by matt.jiang   -   What steps will reproduce the problem? 1. Implement a RemoteService interface which has a method will return BigDecimal or any entity containing BigDecimal property 2. Define corresponding ~Async interface and server side implementation 3. Do RPC call from client side, you will got the following exception stack [WARN] Exception while dispatching incoming RPC call java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:675) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload$WebAppClassLoaderExtension.findClass(JettyLauncher.java:321) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:366) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at com.google.gwt.user.server.rpc.impl.SerializabilityUtil.getCustomFieldSerializer(SerializabilityUtil.java:299) What version of the product are you using? On what operating system? I use GWT 1.6.4, MAC JDK 1.5, gwt-math-2.0.3, gwt-math-server-2.0.3.jar I reproduce this problem several times, please check and advise, thanks. Matt
    What steps will reproduce the problem? 1. Implement a RemoteService interface which has a method will return BigDecimal or any entity containing BigDecimal property 2. Define corresponding ~Async interface and server side implementation 3. Do RPC call from client side, you will got the following exception stack [WARN] Exception while dispatching incoming RPC call java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:675) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload$WebAppClassLoaderExtension.findClass(JettyLauncher.java:321) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:366) at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at com.google.gwt.user.server.rpc.impl.SerializabilityUtil.getCustomFieldSerializer(SerializabilityUtil.java:299) What version of the product are you using? On what operating system? I use GWT 1.6.4, MAC JDK 1.5, gwt-math-2.0.3, gwt-math-server-2.0.3.jar I reproduce this problem several times, please check and advise, thanks. Matt
  • Apr 21, 2009
    issue 17 (excpetion after rpc return: "Value of BigDecimal isn't a rig...) commented on by jantekb   -   All problem solved: I simply did not copy the bigdecimal.js and amathcontext.js files into [webapp]/js/ directory. I'll leave this thread here: it might be useful for someone..
    All problem solved: I simply did not copy the bigdecimal.js and amathcontext.js files into [webapp]/js/ directory. I'll leave this thread here: it might be useful for someone..
  • Apr 21, 2009
    issue 17 (excpetion after rpc return: "Value of BigDecimal isn't a rig...) commented on by jantekb   -   No, the exception comes from a deeper source: (TypeError): $wnd.BigDecimal is undefined fileName: http://localhost:8080/....../F257F8BF51ED91CB36949C844ED12F2A.cache.html I must be doing domething wrong.. any ideas?
    No, the exception comes from a deeper source: (TypeError): $wnd.BigDecimal is undefined fileName: http://localhost:8080/....../F257F8BF51ED91CB36949C844ED12F2A.cache.html I must be doing domething wrong.. any ideas?
  • Apr 21, 2009
    issue 17 (excpetion after rpc return: "Value of BigDecimal isn't a rig...) commented on by jantekb   -   By modifying the source of gwt-math, I see, that the problem is here: public BigDecimal(String val) { try { Double.parseDouble(val); internalBigDecimal = new InternalBigDecimal(val); } catch (Exception e) { throw new IllegalArgumentException("Value of BigDecimal isn't a right value. [" + val + "]"); } The browser shows the error message I see: [5315] I think the Double.parseDouble(val) needs a .0 suffix or something..
    By modifying the source of gwt-math, I see, that the problem is here: public BigDecimal(String val) { try { Double.parseDouble(val); internalBigDecimal = new InternalBigDecimal(val); } catch (Exception e) { throw new IllegalArgumentException("Value of BigDecimal isn't a right value. [" + val + "]"); } The browser shows the error message I see: [5315] I think the Double.parseDouble(val) needs a .0 suffix or something..
  • Apr 21, 2009
    issue 17 (excpetion after rpc return: "Value of BigDecimal isn't a rig...) reported by gem.kapcsok   -   What steps will reproduce the problem? 1. Send a serializable class through RPC with a BigDecimal field in it. 2. 3. What is the expected output? What do you see instead? Exception thrown on client side in Mozilla Firefox 3.0.8 or IE, "Value of BigDecimal isn't a right value." Works only in hosted browser. What version of the product are you using? On what operating system? Windows XP SP3, GWT 1.5.2, gwt-math 2.0.3_java5 Please provide any additional information below. It works only in the hosted browser.
    What steps will reproduce the problem? 1. Send a serializable class through RPC with a BigDecimal field in it. 2. 3. What is the expected output? What do you see instead? Exception thrown on client side in Mozilla Firefox 3.0.8 or IE, "Value of BigDecimal isn't a right value." Works only in hosted browser. What version of the product are you using? On what operating system? Windows XP SP3, GWT 1.5.2, gwt-math 2.0.3_java5 Please provide any additional information below. It works only in the hosted browser.
  • Mar 31, 2009
    r45 (POM per librerie gwt-math) committed by luca.masini   -   POM per librerie gwt-math
    POM per librerie gwt-math
  • Mar 31, 2009
    r44 (Corretta versione target) committed by luca.masini   -   Corretta versione target
    Corretta versione target
  • Mar 31, 2009
    r43 ([No log message]) committed by luca.masini   -   [No log message]
    [No log message]
  • Mar 31, 2009
    r42 ([No log message]) committed by luca.masini   -   [No log message]
    [No log message]
  • Mar 31, 2009
    r41 (Share project "maven2" into "https://gwt-math.googlecode.com...) committed by luca.masini   -   Share project "maven2" into "https://gwt-math.googlecode.com/svn"
    Share project "maven2" into "https://gwt-math.googlecode.com/svn"
  • Mar 23, 2009
    issue 11 (gwt-math should not require Java 6) commented on by brunno.oliveira.silva   -   I browsed the source from the project SVN and compiled it for Java 5. All my tests runned fine.
    I browsed the source from the project SVN and compiled it for Java 5. All my tests runned fine.
  • Mar 22, 2009
    issue 16 (pow function) reported by tweksteen   -   What steps will reproduce the problem? 1. (new BigDecimal("2")).pow(new BigDecimal("3")); What is the expected output? What do you see instead? I expect 8. 1 is returned. What version of the product are you using? On what operating system? The latest 2.0.3 Please provide any additional information below. I guess your pow method isn't functionnal. Thank you. Your library is the best I've seen.
    What steps will reproduce the problem? 1. (new BigDecimal("2")).pow(new BigDecimal("3")); What is the expected output? What do you see instead? I expect 8. 1 is returned. What version of the product are you using? On what operating system? The latest 2.0.3 Please provide any additional information below. I guess your pow method isn't functionnal. Thank you. Your library is the best I've seen.
  • Mar 17, 2009
    issue 15 (Constructor should throw NumberFormatException, not IllegalA...) reported by mark.web.mail   -   What steps will reproduce the problem? 1. Construct a BigDecimal with the string 'abc' 2. 3. What is the expected output? What do you see instead? Should throw NumberFormatException (as in JDK version of BigDecimal), actually throws IllegalArgumentException What version of the product are you using? On what operating system? 2.0.3/Ubuntu Linux Please provide any additional information below.
    What steps will reproduce the problem? 1. Construct a BigDecimal with the string 'abc' 2. 3. What is the expected output? What do you see instead? Should throw NumberFormatException (as in JDK version of BigDecimal), actually throws IllegalArgumentException What version of the product are you using? On what operating system? 2.0.3/Ubuntu Linux Please provide any additional information below.
  • Mar 13, 2009
    issue 14 (add method valueOf(logn) to BigDecimal) commented on by ruslan.s.shevchenko   -   Sorry, previosu patch was incorrect. Correct one:
    Sorry, previosu patch was incorrect. Correct one:
  • Mar 13, 2009
    issue 14 (add method valueOf(logn) to BigDecimal) reported by ruslan.s.shevchenko   -   What steps will reproduce the problem? 1. use method BiogDecimal.valueOf() What is the expected output? What do you see instead? Error message, that this method is absent. Patch, wich add this method is attached.
    What steps will reproduce the problem? 1. use method BiogDecimal.valueOf() What is the expected output? What do you see instead? Error message, that this method is absent. Patch, wich add this method is attached.
  • Mar 06, 2009
    issue 13 (BigInteger/BigDecimal should implement Comparable) reported by holger.brands   -   What steps will reproduce the problem? I have a helper function in my ObjectUtils class: public static <T> int compareTo(Comparable<T> c1, T c2) { ... } I want to use it in my code like this: BigDecimal bigDecimalOne = ... BigDecimal bigDecimalTwo= ... ObjectUtils.<BigDecimal>compareTo(bigDecimalOne, bigDecimalTwo); What is the expected output? What do you see instead? This should be possible to use. Instead I see errors in the GWT log like: [ERROR] Line 206: The parameterized method <BigDecimal>compareTo(Comparable<BigDecimal>, BigDecimal) of type ObjectUtils is not applicable for the arguments (BigDecimal, BigDecimal) What version of the product are you using? On what operating system? GWT-Math 2.0.3 OS: Windows XP in hosted modus
    What steps will reproduce the problem? I have a helper function in my ObjectUtils class: public static <T> int compareTo(Comparable<T> c1, T c2) { ... } I want to use it in my code like this: BigDecimal bigDecimalOne = ... BigDecimal bigDecimalTwo= ... ObjectUtils.<BigDecimal>compareTo(bigDecimalOne, bigDecimalTwo); What is the expected output? What do you see instead? This should be possible to use. Instead I see errors in the GWT log like: [ERROR] Line 206: The parameterized method <BigDecimal>compareTo(Comparable<BigDecimal>, BigDecimal) of type ObjectUtils is not applicable for the arguments (BigDecimal, BigDecimal) What version of the product are you using? On what operating system? GWT-Math 2.0.3 OS: Windows XP in hosted modus
 
Hosted by Google Code