Removing unneccesary floating point conversions.
Removing unneccesary floating point conversions.

Remove casting uint types to float in presence bounds calculation
and using division with a single floating point constant instead.

Change-Id: I7b1738753ccec3109c698774204d3d92fde7de21
Signed-off-by: Mandeep Shetty <9576c34ab780cbbd29c2639a47eb90b07da66bfe@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/443
Tested-by: jenkins-iotivity <09cb29e8a2b473a2c978382eec13ee06fa017bda@opendaylight.org>
Reviewed-by: Erich Keane <ec9f61fe526c14bb62c55d7c978f025ee6b3583d@intel.com>
Reviewed-by: Sashi Penta <32e61e548782370d3f4bdf383408e385d155e3e6@intel.com>

santais/iotivity_1.1,santais/iotivity_1.1.0,santais/iotivity,WojciechLuczkow/iotivity,iotivity/iotivity,tienfuc/iotivity-democlient-snap,tienfuc/iotivity-democlient-snap,santais/iotivity_1.1,santais/iotivity_1.1,santais/iotivity_1.1.0,rzr/iotivity,santais/iotivity,WojciechLuczkow/iotivity,santais/iotivity_1.1.0,kartben/iotivity,kartben/iotivity,santais/iotivity_1.1.0,kartben/iotivity,tienfuc/iotivity-democlient-snap,tienfuc/iotivity-democlient-snap,kartben/iotivity,rzr/iotivity,tienfuc/iotivity-democlient-snap,santais/iotivity_1.1,santais/iotivity_1.1,santais/iotivity_1.1.0,tienfuc/iotivity-democlient-snap,rzr/iotivity,iotivity/iotivity,tienfuc/iotivity-democlient-snap,santais/iotivity,santais/iotivity,WojciechLuczkow/iotivity,WojciechLuczkow/iotivity,santais/iotivity_1.1,iotivity/iotivity,santais/iotivity,santais/iotivity,iotivity/iotivity,WojciechLuczkow/iotivity,WojciechLuczkow/iotivity,kartben/iotivity,WojciechLuczkow/iotivity,rzr/iotivity,santais/iotivity_1.1,rzr/iotivity,santais/iotivity_1.1,tienfuc/iotivity-democlient-snap,rzr/iotivity,iotivity/iotivity,kartben/iotivity,kartben/iotivity,iotivity/iotivity,santais/iotivity_1.1.0,tienfuc/iotivity-democlient-snap,WojciechLuczkow/iotivity,iotivity/iotivity,tienfuc/iotivity-democlient-snap,rzr/iotivity,iotivity/iotivity,santais/iotivity,kartben/iotivity,santais/iotivity_1.1.0