Skip to content

Commit 9d3d948

Browse files
committed
Fix misprint
1 parent dc80366 commit 9d3d948

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/include/CL/sycl/stream.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,8 @@ EnableIfFP<T, unsigned> floatingPointToDecStr(T AbsVal, char *Digits,
330330
// Exponent part
331331
Digits[Offset++] = 'e';
332332
Digits[Offset++] = Exp >= 0 ? '+' : '-';
333-
Digits[Offset++] = digitToChar(AbsExp) / 10);
334-
Digits[Offset++] = digitToChar(AbsExp) % 10);
333+
Digits[Offset++] = digitToChar(AbsExp / 10);
334+
Digits[Offset++] = digitToChar(AbsExp % 10);
335335
} else { // normal mode
336336
if (Exp < 0) {
337337
Digits[Offset++] = '0';

0 commit comments

Comments
 (0)