Describe why floating point is a bad idea and give either forward or reverse (or both!) integer encoding algorithms.