pick 7bd66e7 More precise float => int casting
pick d5c6e3b Add a clang-format script for the repository
