FloatingPointGenerationPerformance_jmhType_B1
public class FloatingPointGenerationPerformance
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static class |
FloatingPointGenerationPerformance.LongSource |
Mimic the generation of the SplitMix64 algorithm.
|
Constructor | Description |
---|---|
FloatingPointGenerationPerformance() |
Modifier and Type | Method | Description |
---|---|---|
long |
nextDoubleBaseline(FloatingPointGenerationPerformance.LongSource source) |
|
double |
nextDoubleUsingBitsToDouble(FloatingPointGenerationPerformance.LongSource source) |
|
double |
nextDoubleUsingMultiply52bits(FloatingPointGenerationPerformance.LongSource source) |
|
double |
nextDoubleUsingMultiply53bits(FloatingPointGenerationPerformance.LongSource source) |
|
int |
nextFloatBaseline(FloatingPointGenerationPerformance.LongSource source) |
|
float |
nextFloatUsingBitsToFloat(FloatingPointGenerationPerformance.LongSource source) |
|
float |
nextFloatUsingMultiply23bits(FloatingPointGenerationPerformance.LongSource source) |
|
float |
nextFloatUsingMultiply24bits(FloatingPointGenerationPerformance.LongSource source) |
public long nextDoubleBaseline(FloatingPointGenerationPerformance.LongSource source)
source
- the sourcepublic double nextDoubleUsingBitsToDouble(FloatingPointGenerationPerformance.LongSource source)
source
- the sourcepublic double nextDoubleUsingMultiply52bits(FloatingPointGenerationPerformance.LongSource source)
source
- the sourcepublic double nextDoubleUsingMultiply53bits(FloatingPointGenerationPerformance.LongSource source)
source
- the sourcepublic int nextFloatBaseline(FloatingPointGenerationPerformance.LongSource source)
source
- the sourcepublic float nextFloatUsingBitsToFloat(FloatingPointGenerationPerformance.LongSource source)
source
- the sourcepublic float nextFloatUsingMultiply23bits(FloatingPointGenerationPerformance.LongSource source)
source
- the sourcepublic float nextFloatUsingMultiply24bits(FloatingPointGenerationPerformance.LongSource source)
source
- the sourceCopyright © 2016–2019 The Apache Software Foundation. All rights reserved.