Add design and coding guidelines for using floating point
We should add these to a document in doc/HACKING:
- Don't use floats.
- If you must use floats, document how the limits of floating point precision and calculation accuracy affect function outputs.
- Remember that different environments can get different results from the same floating point calculations. So you can't use floats in anything that needs to be deterministic, like consensus generation.