Console.Printf: %f glitches with NaNs

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
phantombeta
Posts: 2088
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Console.Printf: %f glitches with NaNs

Post by phantombeta »

As it says in the title, "%f" glitches on NaNs. (And probably on infinity too?)


Minimal example:

Code: Select all

version "2.5"

class NaNTest : Actor {
    states {
    Spawn:
        TROO A 1 {
            Console.Printf ("%f", double.NaN);
        }
    }
}
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Console.Printf: %f glitches with NaNs

Post by _mental_ »

Fixed in 20d7c01.
Post Reply

Return to “Closed Bugs [GZDoom]”