Fix a few compile time warnings
Make representation of float math more consistent with te rest of the code