MathFP and Sun ONE mobile

Started by
2 comments, last by Moose6912 19 years, 8 months ago
I'm using the Sun ONE mobile IDE and i intend to use MathFP for floating point variables.How do i set up MathFP together with my Sun ONE mobile IDE to enable it to work?
Advertisement
first you need to compiel MathFP as its distributed in sourcecode form..

I've opened the MathFP.class file in Notepad and it displayed rubbish and when i copied MathFP.class to the same directory as my J2ME class files.I can't see the compile option on MathFP.class.What is the problem here?
Thanks in advance for any more reply :)
Managed to compile my code with the MathFP library.But running the program will produce an "Invalid constant pool entry" error even though i've imported the MathFP class file into my class.

My declaration of the MathFP variable is
public int iSpeedFP = MathFP.toFP("1");

Something is wrong somewhere and i can't seem to figure it out.

[Edited by - Moose6912 on July 27, 2004 12:14:41 PM]

This topic is closed to new replies.

Advertisement