-Inf

28 次查看(过去 30 天)
sagar balip
sagar balip 2012-1-24
what is meant by -Inf?

回答(1 个)

Walter Roberson
Walter Roberson 2012-1-24
-Inf is the unary negation operator applied to Inf, which is Positive Infinity. -Inf is thus negative infinity.
Some operations that would produce numbers more negative than the most negative number that can be represented in binary floating point, will indicate that numeric overflow by using -Inf as the answer.
-Inf is, among other things, the result of log(0)

类别

Help CenterFile Exchange 中查找有关 Exponents and Logarithms 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by