There was an error while loading. Please reload this page.
1 parent 78c4ce5 commit 40fd333Copy full SHA for 40fd333
source/mir/bignum/decimal.d
@@ -291,7 +291,7 @@ struct Decimal(size_t maxSize64)
291
assert(b.length);
292
293
if (addSign)
294
- w.put(sign);
+ w.put(sign[]);
295
296
auto r = b.length % spec.separatorCount;
297
if (r == 0)
@@ -300,7 +300,7 @@ struct Decimal(size_t maxSize64)
300
goto LS;
301
do
302
{
303
- w.put(sep);
+ w.put(sep[]);
304
LS:
305
w.put(b[0 .. r]);
306
b = b[r .. $];
@@ -321,7 +321,7 @@ struct Decimal(size_t maxSize64)
321
if (this.exponent >= -6 || s >= -2 - (spec.separatorChar != 0) * 3)
322
323
324
325
w.put(zeros[0 .. -s + 2]);
326
w.put(buffer[$ - coefficientLength .. $]);
327
return;
0 commit comments