@@ -67,7 +67,7 @@ public FloatingPointFormula makeNumber(Rational pN, FormulaType.FloatingPointTyp
67
67
wrap (makeNumberImpl (pN .toString (), pType , getDefaultRoundingMode ()));
68
68
if (Generator .isLoggingEnabled ()) {
69
69
FloatingPointGenerator .logMakeFloatingPoint (
70
- result , pType .getExponentSize (), pType .getMantissaSize (), pN . toString () );
70
+ result , pType .getExponentSize (), pType .getMantissaSize (), pN );
71
71
}
72
72
return result ;
73
73
}
@@ -79,7 +79,7 @@ public FloatingPointFormula makeNumber(
79
79
wrap (makeNumberImpl (pN .toString (), pType , getRoundingMode (pRoundingMode )));
80
80
if (Generator .isLoggingEnabled ()) {
81
81
FloatingPointGenerator .logMakeFloatingPoint (
82
- result , pType .getExponentSize (), pType .getMantissaSize (), pN . toString () );
82
+ result , pType .getExponentSize (), pType .getMantissaSize (), pN );
83
83
}
84
84
return result ;
85
85
}
@@ -89,7 +89,7 @@ public FloatingPointFormula makeNumber(double pN, FormulaType.FloatingPointType
89
89
FloatingPointFormula result = wrap (makeNumberImpl (pN , pType , getDefaultRoundingMode ()));
90
90
if (Generator .isLoggingEnabled ()) {
91
91
FloatingPointGenerator .logMakeFloatingPoint (
92
- result , pType .getExponentSize (), pType .getMantissaSize (), String . valueOf ( pN ) );
92
+ result , pType .getExponentSize (), pType .getMantissaSize (), pN );
93
93
}
94
94
return result ;
95
95
}
@@ -100,7 +100,7 @@ public FloatingPointFormula makeNumber(
100
100
FloatingPointFormula result = wrap (makeNumberImpl (pN , pType , getRoundingMode (pRoundingMode )));
101
101
if (Generator .isLoggingEnabled ()) {
102
102
FloatingPointGenerator .logMakeFloatingPoint (
103
- result , pType .getExponentSize (), pType .getMantissaSize (), String . valueOf ( pN ) );
103
+ result , pType .getExponentSize (), pType .getMantissaSize (), pN );
104
104
}
105
105
return result ;
106
106
}
@@ -113,7 +113,7 @@ public FloatingPointFormula makeNumber(BigDecimal pN, FormulaType.FloatingPointT
113
113
FloatingPointFormula result = wrap (makeNumberImpl (pN , pType , getDefaultRoundingMode ()));
114
114
if (Generator .isLoggingEnabled ()) {
115
115
FloatingPointGenerator .logMakeFloatingPoint (
116
- result , pType .getExponentSize (), pType .getMantissaSize (), String . valueOf ( pN ) );
116
+ result , pType .getExponentSize (), pType .getMantissaSize (), pN );
117
117
}
118
118
return result ;
119
119
}
@@ -124,7 +124,7 @@ public FloatingPointFormula makeNumber(
124
124
FloatingPointFormula result = wrap (makeNumberImpl (pN , pType , getRoundingMode (pRoundingMode )));
125
125
if (Generator .isLoggingEnabled ()) {
126
126
FloatingPointGenerator .logMakeFloatingPoint (
127
- result , pType .getExponentSize (), pType .getMantissaSize (), String . valueOf ( pN ) );
127
+ result , pType .getExponentSize (), pType .getMantissaSize (), pN );
128
128
}
129
129
return result ;
130
130
}
0 commit comments