Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Special values?

Dikenal juga sebagai: special values (infinity, NaN)

Definition 4.8 High School Computer Science · Bab 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.

Baca dalam konteks →