org.tritonus.saol.engine.opcodes
Class MathOpcodes
java.lang.Object
org.tritonus.saol.engine.opcodes.MathOpcodes
public class MathOpcodes
- extends java.lang.Object
The Math Opcodes (Section 5.9.4).
Method Summary |
static float |
_int(float x)
|
static float |
abs(float x)
|
static float |
acos(float x)
|
static float |
ampdb(float x)
|
static float |
asin(float x)
|
static float |
atan(float x)
|
static void |
buildOpcodeTable(OpcodeTable opcodeTable)
|
static float |
ceil(float x)
|
static float |
cos(float x)
|
static float |
dbamp(float x)
|
static float |
exp(float x)
|
static float |
floor(float x)
|
static float |
frac(float x)
|
static float |
log(float x)
|
static float |
log10(float x)
|
static float |
max(float[] x)
|
static float |
min(float[] x)
|
static float |
pow(float x,
float y)
|
static float |
sgn(float x)
|
static float |
sin(float x)
|
static float |
sqrt(float x)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MathOpcodes
public MathOpcodes()
buildOpcodeTable
public static void buildOpcodeTable(OpcodeTable opcodeTable)
_int
public static float _int(float x)
frac
public static float frac(float x)
dbamp
public static float dbamp(float x)
ampdb
public static float ampdb(float x)
abs
public static float abs(float x)
sgn
public static float sgn(float x)
exp
public static float exp(float x)
log
public static float log(float x)
sqrt
public static float sqrt(float x)
sin
public static float sin(float x)
cos
public static float cos(float x)
atan
public static float atan(float x)
pow
public static float pow(float x,
float y)
log10
public static float log10(float x)
asin
public static float asin(float x)
acos
public static float acos(float x)
ceil
public static float ceil(float x)
floor
public static float floor(float x)
min
public static float min(float[] x)
max
public static float max(float[] x)