Skip to content
Snippets Groups Projects
Commit 38826d39 authored by Pekka Niemimaa's avatar Pekka Niemimaa
Browse files

From: Jussi Kivilinna <jussi.kivilinna@haltian.com>

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.
parent ad5a00d8
Branches backtrace
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment