Re: Locale definitions, dots and commas
- From: Ernie Wright <erniew comcast net>
- To: gtk-app-devel-list gnome org
- Subject: Re: Locale definitions, dots and commas
- Date: Thu, 13 Mar 2008 23:09:36 -0400
wallace owen l-3com com wrote:
Dave Howorth wrote:
Martin (OpenGeoMap) wrote:
you can input in a entry for example (22m, 22 m, 220cm,...) and
internally you have a double always in meters.
How do you deal with precision? 22 m is not the same as 22.000 m
Bad example. 22 can be expressed exactly in 2s complement. 3 cannot.
Any integer can be exactly expressed in two's complement.
Doubles don't use two's complement. They can also exactly represent a
very large number of integers.
- Ernie http://home.comcast.net/~erniew
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]