Re: [Lejos-discussion] Arithmetic Problem

2006-04-14 Thread Juergen Stuber
Hi William, William J Rust <[EMAIL PROTECTED]> wrote: > > is there a disassembler for byte code (not refactoring) > that produces symbolic byte code? try javap -c, it is included in the JDK. Cheers Jürgen -- Jürgen Stuber <[EMAIL PROTECTED]> http://www.jstuber.net/ gnupg key fingerprint = 27

Re: [Lejos-discussion] Arithmetic Problem

2006-04-13 Thread William J Rust
ults match. > Date: Thu, 13 Apr 2006 09:15:08 +0200 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > CC: lejos-discussion@lists.sourceforge.net > Subject: Re: [Lejos-discussion] Arithmetic Problem > > Hi James, > >

RE: Re: [Lejos-discussion] Arithmetic Problem

2006-04-13 Thread James Park
It's strange though. For every other number I've tried besides 10.25, the results match. > Date: Thu, 13 Apr 2006 09:15:08 +0200> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> CC: lejos-discussion@lists.sourceforge.net> Subject: Re: [Lejos-discussion] Arithmetic Prob

Re: [Lejos-discussion] Arithmetic Problem

2006-04-13 Thread Juergen Stuber
Hi James, James Park <[EMAIL PROTECTED]> wrote: > > In the following program, the LCD will print 4999 first > (incorrect), and then 5031 second (correct). I'm not > missing something obvious am I? note that double arithmetic is not implemented, I think float arithmetic is done instead. So the con

[Lejos-discussion] Arithmetic Problem

2006-04-12 Thread James Park
In the following program, the LCD will print 4999 first (incorrect), and then 5031 second (correct). I'm not missing something obvious am I? import josx.platform.rcx.*; public class Program {     public static void main(String[] args) {    present((int)(convert(10.25) * 1));    presen