## Lesson 5: Floating point numbers, successive refinement, finding roots

### Massachusetts Institute of Technology (OpenCoarseWare): Introduction to Computer Science and Programming

Lecture 5: Floating point numbers, successive refinement, finding roots

Instructors: Prof. Eric Grimson, Prof. John Guttag

View the complete course at: http://ocw.mit.edu/6-00F08

### Introduction to Computer Science & Programming Class Notes

Floating point numbers, successive refinement, finding roots

Python has 2 types of numbers:

int (integers – whole numbers)

Arbitrary precision (Long Integer)

The following code displays arbitrary precision:

**a = 2**1000
**Type ...

MAY

2011