Skip to content

Commit ed0c565

Browse files
committed
Print the right sign on infinities
1 parent 8739c39 commit ed0c565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

renderdoc/serialise/utf8printf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ void PrintFloat(double argd, FormatterParams &formatter, bool e, bool f, bool g,
482482
if(signbit)
483483
appendstring(output, actualsize, end, uppercaseDigits ? "-INF" : "-inf");
484484
else
485-
appendstring(output, actualsize, end, uppercaseDigits ? "+INF" : "-inf");
485+
appendstring(output, actualsize, end, uppercaseDigits ? "+INF" : "+inf");
486486
}
487487
else
488488
{

0 commit comments

Comments
 (0)