d3dx9: Implement D3DXFloat32To16Array and D3DXFloat16To32Array. (try 2)

Juan Lang juan.lang at gmail.com
Sat Feb 26 16:48:14 CST 2011

Hi Misha,

> My own (very unhelpful) diagnosis of the pattern is that, for the
> mantissa values:
> 2018.5 should round to 2018
> 2019.5 should round to 2020

The pattern appears to be "round half to even", which you may read
about on Wikipedia:

More information about the wine-devel mailing list