.. highlightlang:: us .. _isfinite: isfinite ======== .. index:: isfinite .. us.tag isfinite ENGLISH New593 :ref:`isfinite` determines whether the given number is finite. .. function:: r = isfinite(m) .. us.return **Return Value** *r* is TRUE (1), if *m* is finit, i.e. if m != INF and m != -INF and *m* is not a NaN. .. us.params **Parameters** .. uparam:: m is a real scalar or real matrix. .. us.example **Example** :: 1/0 1.#INF 0/0 -1.#IND isfinite(1/0) 0.0000 isfinite(0/0) 0.0000 isnan(1/0) 0.0000 isnan(0/0) 1.0000 isnan(0/0) 1.0000 isnan(1e300*1e300) 1.0000 isnan(-1e300*-1e300) 1.0000 .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - 5.9.3 - New. .. seealso:: :ref:`overview-mathematic`, :ref:`isnan` :sub:`id-1417454`