org.apfloat.internal.FloatAdditionBuilder 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;
import org.apfloat.spi.AdditionBuilder;
import org.apfloat.spi.AdditionStrategy;
/**
* Creates additions for the specified radix and the float
element type.
*
* @since 1.7.0
* @version 1.7.0
* @author Mikko Tommila
*/
public class FloatAdditionBuilder
implements AdditionBuilder
{
/**
* Default constructor.
*/
public FloatAdditionBuilder()
{
}
public AdditionStrategy createAddition(int radix)
{
AdditionStrategy additionStrategy = new FloatAdditionStrategy(radix);
return additionStrategy;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy