public interface FloatingFactory<T extends Floating<T>>
This class is used to create new
Floating
objects- Author:
- Thomas Kasper
-
Method Summary
-
Method Details
-
create
Creates a newFloating
- Parameters:
signum
- the signum (either -1, 0, or 1)type
- the type- Returns:
- the new Binary
-
create
Creates a newFloating
.The primary use of this function is for creating signed zeros. In all other cases,
create(BigDecimal)
should be preferred.- Parameters:
signum
- the signum (either -1, 0, or 1)value
- the value- Returns:
- the new Binary
-
create
Creates a newFloating
- Parameters:
value
- the value- Returns:
- the new Binary
-
create
Creates a newFloating
.- Parameters:
value
- the value- Returns:
- the new Binary
-