On Thu, 2008-03-13 at 15:48 +0000, Dave Howorth wrote: > Martin (OpenGeoMap) wrote: > > I am building an intermediate unit system for engineeres in Gobject and > > i hope publish this library soon. > > With this system you always work in lineal measures in meters (double), > > and you can input others (inches, centimeters) > > > > input system - intermediate system -out system > > > > 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. > > Cheers, Dave > _______________________________________________ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list -- [EMAIL PROTECTED] Office: 619.278.2084 Cell: 619.990.2286 _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list