-
Pekka Niemimaa authored
Date: Thu, 8 Oct 2015 16:39:38 +0300 Subject: [PATCH] ts_engine: geofence: use 'double' instead of 'float' for geofence coordinates From: Jussi Kivilinna <jussi.kivilinna@haltian.com> Date: Wed, 7 Oct 2015 15:57:58 +0300 Subject: [PATCH] ts_engine: sense_group_location: fix loss of accuracy of latitude/longitude caused by division by 32-bit float constant Dividing 32-bit integer with 32-bit float causes loss of precision. 'float' can express 6 digits without loss while 'double' can express 15 digits.
38826d39