#separator:tab
#html:true
#notetype:Basic
#tags column:3
#deck:cracked.guide::TAOCP Vol 2::4.2.3 Double-Precision Calculations
#columns:Front	Back	Tags
TAOCP §4.2.3 Double-Precision Calculations: what does it cover?	Building higher-precision floating arithmetic out of single-precision operations, with care for carries and rounding.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.2.3 cracked.guide::kind::about
TAOCP §4.2.3: why does it matter?	The same idea powers double-double and quad-double libraries used when 64-bit floats are not enough.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.2.3 cracked.guide::kind::why
TAOCP §4.2.3, exercise 1 (rated 16): what is it asking?	Run the double-precision division idea by hand on small decimal numbers.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.2.3 cracked.guide::kind::exercise
TAOCP §4.2.3, exercise 2 (rated 20): what is it asking?	Whether clearing a register would actually improve accuracy.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.2.3 cracked.guide::kind::exercise
TAOCP §4.2.3, exercise 3 (rated M20): what is it asking?	Why one of the routines can never overflow.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.2.3 cracked.guide::kind::exercise
TAOCP §4.2.3, exercise 6 (rated 23): what is it asking?	Convert between single and double precision formats.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.2.3 cracked.guide::kind::exercise
TAOCP §4.2.3, exercise 7 (rated M30, recommended): what is it asking?	Bound the relative error of the double-precision routines. The stretch.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.2.3 cracked.guide::kind::exercise
TAOCP §4.2.3: how many exercises, and how are they rated?	9 exercises, rated 16 to M42.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.2.3 cracked.guide::kind::exercises
TAOCP §4.2.3: what should you be comfortable with first?	<ul><li>4.2.2 Accuracy of Floating Point Arithmetic</li></ul>	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.2.3 cracked.guide::kind::prereqs
TAOCP §4.2.3: how should you work through it?	Read for the method. Skim MIX-heavy details. If you are curious, look up the two-sum trick, which is the modern building block.	cracked.guide cracked.guide::phase::taocp-2 cracked.guide::section::4.2.3 cracked.guide::kind::approach
