PrevUpHomeNext

.is_inf method


.is_inf member function of utx::class_type

utx::class_type::is_inf

Method .is_inf of utx::class_type is used to check if the object value is infinity.

c++ example

#include <utxcpp/core.hpp>

int main()
{
	constexpr utx::fx64 a = utx::fx64_max;
	const utx::fx64 b = a/0.123;
	const utx::fx64 c = -b;
	utx::print(a.is_inf(), b.is_inf(), c.is_inf());	// false true true
}

See Also

utx::fx64


PrevUpHomeNext

utx::print

esv::print