public class SinCosTest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
accuracyIterations |
static int |
COLUMN_PADDING |
static float |
leastPreciseTable |
static float |
mostPreciseTable |
static int |
NUM_DECIMALS |
static int |
numTables |
static int |
speedIterations |
static int |
speedTrials |
Constructor and Description |
---|
SinCosTest() |
Modifier and Type | Method and Description |
---|---|
static void |
constructTables()
constructs the tables from the static parameters
|
static double[][] |
doAccuracyTest(boolean print)
accuracy test from the static parameters, the tables array needs
to be constructed as well,
returns double[tables][0-3 (no lerp, lerp, then the difference)]
|
static double[][] |
doSpeedTest(boolean print)
speed test from the static parameters the tables array needs
to be constructed as well,
returns double[tables][0-3 (no lerp, lerp, then the difference)]
|
static void |
main(java.lang.String[] args) |
public static final int COLUMN_PADDING
public static final int NUM_DECIMALS
public static int numTables
public static float mostPreciseTable
public static float leastPreciseTable
public static int accuracyIterations
public static int speedTrials
public static int speedIterations
public static void main(java.lang.String[] args)
args
- public static final void constructTables()
public static final double[][] doAccuracyTest(boolean print)
public static final double[][] doSpeedTest(boolean print)
Copyright © 2012. All Rights Reserved.