Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit 2f8315d

Browse files
committed
Enusre use of parameter
1 parent e97fb97 commit 2f8315d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Decimal128.mts

+4
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ function pickQuantum(
5353
return EXPONENT_MAX;
5454
}
5555

56+
if (d === "0" || d === "-0") {
57+
return preferredQuantum;
58+
}
59+
5660
return preferredQuantum;
5761
}
5862

0 commit comments

Comments
 (0)