number handling in java

From: Jeremy Watts (jeremy.watts70_at_ntlworld.com)
Date: 04/03/04

  • Next message: Florian Bütow: "Jakarta Struts + Tomcat + Eclipse gives me a big: w00t!"
    Date: Sat, 3 Apr 2004 12:19:01 +0100
    
    

    hi,

    i'm writing an internet maths application at the moment, and am using PHP to
    do it, but it only (only..!) seems to handle numbers in the range -10billion
    to +10billion or in that ballpark.

    I was wondering what sized numbers java can handle. I used a JAVA
    application once that calculated hcf's of 2 numbers, and the numbers it
    handled were huge (and i mean huge). Not sure how it was doing it actually.
    But anyway, what are java limits as far as number size goes?

    jeremy


  • Next message: Florian Bütow: "Jakarta Struts + Tomcat + Eclipse gives me a big: w00t!"

    Relevant Pages

    • Re: Putting Java/.Net/PHP/Python to the test?
      ... I was wondering if someone had put Java, .Net, PHP, and Python to ... the test by writing the same type of application, ...
      (comp.lang.php)
    • Re: Choice of programming language
      ... yep agreed on that - i'm writing some linear algebra applications in ... basically a toss up between php and java - ive tried both and java is ...
      (sci.math.num-analysis)
    • Re: number handling in java
      ... >> i'm writing an internet maths application at the moment, ... PHP to ... I used a JAVA ... > Someone else has posted the limits for the native types so I won't ...
      (comp.lang.java.softwaretools)
    • Re: number handling in java
      ... >i'm writing an internet maths application at the moment, and am using PHP to ... >to +10billion or in that ballpark. ... I used a JAVA ...
      (comp.lang.java.softwaretools)
    • Re: HTML "scrape" causes loss of query string in URL
      ... >> in PHP with several PHP scripts interacting with one Java servlet, ... >> which interacted with several Java classes. ... > process to go from PHP to JSP. ...
      (comp.lang.java.help)

    Loading