You can more concisely express 1 as a double by doing `1.0d`