PLEASE HELP  Does J2ME include java.lang.Math
 From: "cpptutor2000@xxxxxxxxx" <cpptutor2000@xxxxxxxxx>
 Date: Thu, 27 Mar 2008 16:57:07 0700 (PDT)
I am trying to make a simple J2ME application that would do some
manipulation with trigonometric functions on floating point data, on a
handheld device. For prototyping purposes, I am using Sun
Microsystems' WTK 2.2, and the settings have CDLC 1.1. My source file
has the import:
import java.lang.Math;
However, I get error messages as:
Building "Test"
C:\WTK22\apps\Test\src\TestUtility.java:58: cannot resolve symbol
symbol : variable nu
location: class RecordUtility
for (int i = 1; i <= nu; i++)
^
C:\WTK22\apps\Test\src\TestUtility.java:70: cannot resolve symbol
symbol : method log (int)
location: class java.lang.Math
int nu = (int)(Math.log(n)/Math.log(2));
^
C:\WTK22\apps\Test\src\TestUtility.java:70: cannot resolve symbol
symbol : method log (int)
location: class java.lang.Math
int nu = (int)(Math.log(n)/Math.log(2));
^
3 errors
com.sun.kvem.ktools.ExecutionException
Build failed
I tried casting n as n11 = (double)n and then using this value, but it
has not helped.
Could some Java guru please suggest what a suitable solution might
be ? Any hints/suggestions would be greatly appreciated  thanks in
advance for your help.
.
 FollowUps:
 Prev by Date: Re: JNLP validation
 Next by Date: Re: After I try latest of Netbean and Eclipse I wonder if have Another beter IDE?
 Previous by thread: nonlinear equations
 Next by thread: Re: PLEASE HELP  Does J2ME include java.lang.Math
 Index(es):
Relevant Pages
