|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Math.atan2 ?
Any reason why they didn't include the java.lang.Math ones? They really didn't include many in there...
|
|
#2
|
||||
|
||||
|
Re: Math.atan2 ?
Quote:
|
|
#3
|
||||
|
||||
|
Re: Math.atan2 ?
Team 20 used some fancy calculus and made our own atan2 function, using a taylor series
![]() |
|
#4
|
|||
|
|||
|
Re: Math.atan2 ?
Unfortunately to be able to call this Java, we had to follow a specification that defines EXACTLY what classes and what methods exist on classes in the java.* and javax.* packages. For the Java that this VM implements, CLDC 1.1 and IMP 1.0, these functions dont exist.
The spec however, allows us to do whatever we want in OEM extensions, ie in other packages. So we added some of the functionality that we fealt was missing. Its annoying, but it is what it is. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tetra Math | ZZII 527 | General Forum | 34 | 22-01-2005 14:13 |
| A math haiku | mtrawls | Chit-Chat | 0 | 11-03-2004 20:22 |
| math.h library | mightywombat | Programming | 24 | 17-01-2004 13:10 |
| Math | Hermione692 | Chit-Chat | 15 | 21-02-2003 10:47 |
| Math Help!!! | Leon Machado IV | Chit-Chat | 7 | 16-11-2001 19:38 |