Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > difference between jdk1.5.06 and jdk1.5.02

Reply
Thread Tools

difference between jdk1.5.06 and jdk1.5.02

 
 
manzur
Guest
Posts: n/a
 
      11-09-2006
i encountered an interesting problem during my s/w development,
I had some calulation part whose result is a double value.The result is
different on difeerent versions of jdk (jdk1.5.06 and jdk1.5.02).


thanks in advance
manzur

 
Reply With Quote
 
 
 
 
Daniel Dyer
Guest
Posts: n/a
 
      11-09-2006
On Thu, 09 Nov 2006 10:25:16 -0000, manzur <(E-Mail Removed)> wrote:

> i encountered an interesting problem during my s/w development,
> I had some calulation part whose result is a double value.The result is
> different on difeerent versions of jdk (jdk1.5.06 and jdk1.5.02).
>


On the same machine?

Dan.

--
Daniel Dyer
http://www.dandyer.co.uk
 
Reply With Quote
 
 
 
 
manzur
Guest
Posts: n/a
 
      11-09-2006
They are two different machines.


Daniel Dyer wrote:
> On Thu, 09 Nov 2006 10:25:16 -0000, manzur <(E-Mail Removed)> wrote:
>
> > i encountered an interesting problem during my s/w development,
> > I had some calulation part whose result is a double value.The result is
> > different on difeerent versions of jdk (jdk1.5.06 and jdk1.5.02).
> >

>
> On the same machine?
>
> Dan.
>
> --
> Daniel Dyer
> http://www.dandyer.co.uk


 
Reply With Quote
 
Daniel Dyer
Guest
Posts: n/a
 
      11-09-2006
On Thu, 09 Nov 2006 10:36:45 -0000, manzur <(E-Mail Removed)> wrote:

> They are two different machines.


Might not be the JRE that is the problem. Different machines may use
different precisions. If you want predictable results, use strictfp
(http://en.wikipedia.org/wiki/Strictfp).

Dan.

--
Daniel Dyer
http://www.dandyer.co.uk
 
Reply With Quote
 
=?ISO-8859-1?Q?Arne_Vajh=F8j?=
Guest
Posts: n/a
 
      11-09-2006
manzur wrote:
> i encountered an interesting problem during my s/w development,
> I had some calulation part whose result is a double value.The result is
> different on difeerent versions of jdk (jdk1.5.06 and jdk1.5.02).


Actually it is 1.5.0_2 -> 1.5.0_6 and the _02 to _06 is only bugfixes,
so unless a bug fixed effects your code, then I would look elsewhere
for the difference.

Arne
 
Reply With Quote
 
Chris Uppal
Guest
Posts: n/a
 
      11-09-2006
Arne Vajh°j wrote:
> manzur wrote:
> > i encountered an interesting problem during my s/w development,
> > I had some calulation part whose result is a double value.The result is
> > different on difeerent versions of jdk (jdk1.5.06 and jdk1.5.02).

>
> Actually it is 1.5.0_2 -> 1.5.0_6 and the _02 to _06 is only bugfixes,


And for details of the bugfixes see

http://java.sun.com/j2se/1.5.0/ReleaseNotes.html

but like Arne, I suspect your problem lies elsewhere.

-- chris


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ 7.17 What's the difference between dynamic and lexical (static) scoping? Between local() and my()? PerlFAQ Server Perl Misc 0 04-15-2011 04:00 AM
FAQ 7.17 What's the difference between dynamic and lexical (static) scoping? Between local() and my()? PerlFAQ Server Perl Misc 0 01-06-2011 05:00 PM
difference between between these "char"s arnuld C++ 33 03-05-2007 03:11 PM
Difference between bin and obj directories and difference between project references and dll references jakk ASP .Net 4 03-22-2005 09:23 PM
Exact difference between 'const char *' and 'char *', also diff between 'const' and 'static' Santa C Programming 1 07-17-2003 02:10 PM



Advertisments