Mostrar comentarios más antiguos
what is meant by -Inf?
Respuestas (1)
Walter Roberson
el 24 de En. de 2012
3 votos
-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)
Categorías
Más información sobre Exponents and Logarithms en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!