We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4398243 commit 77ece75Copy full SHA for 77ece75
src/main/java/at/syntaxerror/ieee754/Floating.java
@@ -76,10 +76,10 @@ public Floating(int signum, BigDecimal value) {
76
this.type = FloatingType.INFINITE;
77
}
78
79
-// else if(value.abs().compareTo(getCodec().getMinSubnormalValue().getBigDecimal()) < 0) { // underflow => zero
80
-// this.value = BigDecimal.ZERO;
81
-// this.type = FloatingType.FINITE;
82
-// }
+ else if(value.abs().compareTo(getCodec().getMinSubnormalValue().getBigDecimal()) < 0) { // underflow => zero
+ this.value = BigDecimal.ZERO;
+ this.type = FloatingType.FINITE;
+ }
83
84
else {
85
this.value = value;
0 commit comments