isinf function

Syntax

  • bool isinf(value)

Parameters

  1. value—float

Returns

True if value is infinite, false otherwise.

Description

The isinf function checks if value is an infinite value.

Related

Examples

example.1
	isinf(1/0)
	# result = true
example.2
	isinf(ln(0))
	# result = true

In this topic