mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-18 20:46:31 +00:00
Print the right sign on infinities
This commit is contained in:
@@ -482,7 +482,7 @@ void PrintFloat(double argd, FormatterParams &formatter, bool e, bool f, bool g,
|
||||
if(signbit)
|
||||
appendstring(output, actualsize, end, uppercaseDigits ? "-INF" : "-inf");
|
||||
else
|
||||
appendstring(output, actualsize, end, uppercaseDigits ? "+INF" : "-inf");
|
||||
appendstring(output, actualsize, end, uppercaseDigits ? "+INF" : "+inf");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user