COMPSCI 1JC3 Lecture Notes - Lecture 3: Real Number, Nan, Negative Number

31 views3 pages

Document Summary

Nan - not a number/undefined, no natural value. Digital information - a string of data broken into bits. Exploded on its first test flight in 1996. 64 bit floating point number was converted to a 16 bit machine integer. The module that did the conversion was written for the ariane 4 but reused for the ariane 5 without re- analysis. Includes natural numbers, integers, rational, real, complex, modular. Natural - counting and ordering ( include 0) Modular integers - for integer arithmetic modulo, clock arithmetic, can be done for any number of numbers. Problem : representing an infinite number of members. Solution 1 : represent each member of the system using a fixed number of bits. Advantage - efficiency in use of space and time. Disadvantage - only finite number of members can be represented. Solution 2: represent each member using unbounded number of bits. Machine integers - integers are represented with a fixed number of bits.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents