[EMAIL PROTECTED] 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
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to