SDL_isinff

Function SDL_isinff 

Source
pub const fn SDL_isinff(x: c_float) -> c_int
Expand description

Return whether the value is infinity.

§Parameters

  • x: floating point value.

§Return value

Returns non-zero if the value is infinity, 0 otherwise.

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.

§See also