[Xcb] More on types and xml-xcb

Jim Gettys Jim.Gettys at hp.com
Thu Apr 7 21:25:30 EST 2005


On Wed, 2005-04-06 at 20:06 -0700, Josh Triplett wrote:
> Jeremy Kolb wrote:
> > I just added support for float and double in c-client.xsl... I hope you
> > don't mind Josh :)
> 
> Not a problem at all.  The only reasons they weren't there already were
> that 1) they weren't in any of the previous protocol descriptions we've
> encountered, and 2) I thought there was some rule somewhere about not
> putting floats in the X protocol.  I suppose the latter may be because X
> predates standardized floating point representation?
> 

Yes, IEEE floating point is a late comer.

Also, FP is generally problematic, and should be avoided when possible.
There was certainly no need for it for the core protocols.
			- Jim




More information about the xcb mailing list