public class FloatOptimizationTest extends GraalCompilerTest
GraalCompilerTest.ArgSupplier, GraalCompilerTest.ResultGraalTest.MultiCauseAssertionErrorlastCompiledGraph| Constructor and Description |
|---|
FloatOptimizationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertDeepEquals(String message,
Object expected,
Object actual,
double delta)
Compares two given values for equality, doing a recursive test if both values are arrays of
the same type.
|
void |
test1() |
static double |
test1Snippet(double x) |
void |
test2() |
static double |
test2Snippet(float x) |
void |
test3() |
static double |
test3Snippet(double x) |
void |
test4() |
static double |
test4Snippet(float x) |
addMethod, after, afterTest, applyArgSuppliers, argsWithReceiver, asResolvedJavaMethod, assertConstantReturn, assertEquals, assertEquals, assertEquals, before, beforeTest, branchProbability, breakpoint, breakpoint, checkArgs, checkHighTierGraph, checkLowTierGraph, checkMidTierGraph, compile, countUnusedConstants, createLIRSuites, createSuites, editGraphBuilderConfiguration, executeActual, executeActualCheckDeopt, executeExpected, getBackend, getCanonicalGraphString, getCode, getCode, getCode, getCodeCache, getConstantReflection, getCustomGraphBuilderSuite, getDefaultGraphBuilderPlugins, getDefaultGraphBuilderSuite, getDefaultHighTierContext, getLIRSuites, getLowerer, getMetaAccess, getNodeCountExcludingUnusedConstants, getProviders, getReplacements, getResolvedJavaMethod, getResolvedJavaMethod, getResolvedJavaMethod, getSnippetReflection, getSpeculationLog, getSuites, getTarget, initializeDebugging, invoke, isArchitecture, iterationCount, lookupMethod, parseDebug, parseEager, parseEager, parseForCompile, parseProfiled, parseProfiled, referenceInvoke, supply, test, test, testAgainstExpected, testAgainstExpected, testNassertDeepEquals, assertDeepEquals, assertDeepEquals, assertFalse, assertFalse, assertFalse, assertTrue, assertTrue, assertTrue, equalFloatsOrDoublesDelta, fail, getMethod, getMethod, getMethod, ulpsDeltapublic FloatOptimizationTest()
public void test1()
public static double test1Snippet(double x)
public void test2()
public static double test2Snippet(float x)
public void test3()
public static double test3Snippet(double x)
public void test4()
public static double test4Snippet(float x)
protected void assertDeepEquals(String message, Object expected, Object actual, double delta)
GraalTestassertDeepEquals in class GraalTestmessage - the identifying message for the AssertionErrordelta - the maximum delta between two doubles or floats for which both numbers are still
considered equal.