I went for the most cautious checks on float values to make sure I didn't miss anything. If there is a simpler way to check these, please let me know.