Commit 38826d39 authored by Pekka Niemimaa's avatar Pekka Niemimaa
Browse files

From: Jussi Kivilinna <>

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 <>
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment