Go to Post They're so cute I could just pinch their little CIM motors!:D :p - Akash Rastogi [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 4.00 average. Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 17-01-2010, 16:01
derekwhite's Avatar
derekwhite derekwhite is offline
Java Virtual Machine Hacker
no team (FIRST@Oracle)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Burlington, MA
Posts: 127
derekwhite is on a distinguished road
Re: Math.atan2 ?

Look in the package com.sun.squawk.util.MathUtils for extra math functions.

static double acos(double a)
Returns the arc cosine of an angle, in the range of 0 through pi.
static double asin(double a)
Returns the arc sine of an angle, in the range of -pi/2 through pi/2.
static double atan(double a)
Returns the arc tangent of an angle, in the range of -pi/2 through pi/2.
static double atan2(double y, double x)
Converts rectangular coordinates (x, y) to polar (r, theta).
static double exp(double a)
Returns Euler's number e raised to the power of a double value.
static double expm1(double a)
Returns ex -1.
static double IEEEremainder(double x, double p)
Computes the remainder operation on two arguments as prescribed by the IEEE 754 standard.
static double log(double a)
Returns the natural logarithm (base e) of a double value.
static double log1p(double a)
Returns the natural logarithm of the sum of the argument and 1.
static double pow(double x, double y)
Returns the value of the first argument raised to the power of the second argument.
static double rint(double a)
Returns the double value that is closest in value to the argument and is equal to a mathematical integer.
static long round(double a)
Returns the closest long to the argument.
static int round(float a)
Returns the closest int to the argument.
static double scalbn(double x, int n)
performs x*2^n by exponent manipulation

(By language specification rules we aren't allowed to add non Java ME methods to the java.* package).
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 09:25.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi