Why isnan and isinf aren't implemented?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By mateusak
:warning: Old Version Published before Godot 3 was released.

It’s stated in here, but it says it’s not a built-in function. Why is it in the wiki if it’s not implemented?

:bust_in_silhouette: Reply From: CowThing

The functions are actually is_nan and is_inf

I’m not sure why the functions aren’t listed by the correct name in the documentation. Maybe open an issue on github?

Nice catch, will fix this.

Akien | 2016-05-17 12:57

Fixed with GDScript: Fix method info for is_nan and is_inf · godotengine/godot@b58e261 · GitHub (still need to regenerate the docs of course, but at least the source of the bug is fixed).

Akien | 2016-05-17 13:01