Nassau Community College

Problems with floating point numbers: Python. A problem with floating point is that many numbers cannot be accurately represented. Convert the decimal value 0.1 (1/10) to binary using the algorithm from last class (multiply by 2 and take the digits that are on the left side of the decimal point every time): 0.2. 0 ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download