org.apfloat.internal.DoubleConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apfloat Show documentation
Show all versions of apfloat Show documentation
High performance arbitrary precision arithmetic library
package org.apfloat.internal;
/**
* Constants needed for various algorithms for the double
type.
*
* @since 1.4
* @version 1.4
* @author Mikko Tommila
*/
public interface DoubleConstants
{
/**
* Relative cost of Karatsuba multiplication.
*/
public static final float KARATSUBA_COST_FACTOR = 4.3f;
/**
* Relative cost of NTT multiplication.
*/
public static final float NTT_COST_FACTOR = 6.2f;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy