Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Special values?

Também chamado de: special values (infinity, NaN)

Definition 4.8 High School Computer Science · Capítulo 4 — Floating-Point Numbers

The special values of the floating-point format are inf and -inf, the results of an overflow beyond the largest float; nan (“not a number”), the result of an operation that has no meaning, such as ∞−∞\infty - \infty; and -0.0, a zero that remembers it came from the negative side. Every comparison with nan is false, even nan == nan.

Ler no capítulo →