PrevUpHomeNext

.is_inf method


Flow of learning makes efficient results.

.is_inf member function of esv::class_type

esv::class_type::is_inf

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

c++ example

#include <esvcpp/core.hpp>

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

See Also

esv::fx64


PrevUpHomeNext

E