Function SDL_isinf

pub unsafe extern "C" fn SDL_isinf(x: f64) -> i32
Available on crate feature dep_sdl3 only.
Expand description

Return whether the value is infinity.

§Parameters

  • x: double-precision 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