Dirk Hohndel 7a9203eda2 Core: cast to the correct type
While in the specific calculations here there isn't really a risk that float
might overflow, it seems odd to cast to float in order to assign to double.

This caused an Alert via LGTM.com

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2019-04-04 15:06:32 -07:00
..
2019-04-04 15:06:32 -07:00
2018-07-18 02:09:15 +03:00
2018-10-30 15:33:43 +01:00
2019-01-22 13:04:36 +13:00
2018-10-30 15:33:43 +01:00
2018-01-31 14:47:26 +01:00
2017-04-29 13:32:55 -07:00
2019-01-22 13:04:36 +13:00
2018-08-23 05:16:38 -07:00
2018-10-21 19:55:09 +03:00
2018-10-21 19:55:09 +03:00
2018-10-21 19:55:09 +03:00
2018-10-21 19:55:09 +03:00
2018-10-21 19:55:09 +03:00
2018-08-23 05:16:38 -07:00
2019-01-22 13:07:26 +13:00
2018-10-21 19:55:09 +03:00
2019-01-22 13:06:17 +13:00
2018-10-21 19:55:09 +03:00
2017-04-29 13:32:55 -07:00
2018-05-30 21:47:07 -07:00
2017-04-29 13:32:55 -07:00
2017-04-29 13:32:55 -07:00
2018-10-21 19:55:09 +03:00
2019-01-22 13:06:17 +13:00