I'm not that happy with the to_signed_nan() name (I'd have preferred fixup_nan() or something like that) but anyway: Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>