[PATCH 0/2] XIPropToInt and XIPropToFloat APIs

Simon Thum simon.thum at gmx.de
Thu Dec 18 13:39:07 PST 2008


Roland Mainz wrote:
> Erm... I strongly suggest not trying that. This quickly runs into a vey
> special hell where each platform interprets IEEE754-1985 in it's own
> subtle way (IEEE754-2008 will clean this partially up but it will take
> some years until we see support for this). In the best case it works, in
> the worst case you'll get corrupt data, differenly sized float types or
> a SIGFPE (for example some platforms have nasty behaviour for payloads
> within NaN values) ...
Well, originally I treated inf/NaN as error anyway. For non-inf/NaN, I
could google up the ususal reproducability deficiencies, but I found no
binary compatibility complaints.

Maybe you can give some additional references?

Regards,

Simon



More information about the xorg mailing list