-------------------------
Week 05 Notes for CST8281
-------------------------
-Ian! D. Allen - idallen@idallen.ca - www.idallen.com
Calculators are not permitted during the first midterm test. You will
benefit from knowing the powers of two from 2**(-4) to 2**16 and the
decimal and binary values of the hexadecimal digits from zero to fifteen.
Of course you can work them out; however, having at least some of them
memorized will make things go faster for you on the test.
(Remember that hexadecimal "A" = decimal 10 = binary 1010.)
Overflow causes rocket to self-destruct
---------------------------------------
- http://en.wikipedia.org/wiki/Ariane_5_Flight_501
"a data conversion from a 64-bit floating point to 16-bit signed
integer value caused a hardware exception (more specifically, an
arithmetic overflow, as the floating point number had a value too
large to be represented by a 16-bit signed integer)"
Lecture Notes for This Week
---------------------------
- From Blackboard Course Documents (publisher-restricted distribution): 02.ppt
- ignore slides 62-70 (the "simplified" model)
- ignore slides 75-76 (floating-point multiplication)
- use my web pages instead
- 090_floating_point.html
- 100_ieee754_conversions.txt
- http://en.wikipedia.org/wiki/IEEE_754-1985
- http://en.wikipedia.org/wiki/IEEE_754
- http://en.wikipedia.org/wiki/Integer_overflow
- http://en.wikipedia.org/wiki/Arithmetic_overflow
- http://en.wikipedia.org/wiki/Arithmetic_underflow
- http://en.wikipedia.org/wiki/Ariane_5_Flight_501
IEEE 754 Converter:
- http://babbage.cs.qc.cuny.edu/IEEE-754/Decimal.html
For anyone doing significant work in floating-point:
"What Every Computer Scientist Should Know About Floating-Point Arithmetic"
- http://www.validlab.com/goldberg/paper.pdf
--
| Ian! D. Allen - idallen@idallen.ca - Ottawa, Ontario, Canada
| Home Page: http://idallen.com/ Contact Improv: http://contactimprov.ca/
| College professor (Free/Libre GNU+Linux) at: http://teaching.idallen.com/
| Defend digital freedom: http://eff.org/ and have fun: http://fools.ca/