Am Freitag 11 Februar 2011, 20:48:58 schrieb Misha Koshelev:
> Stefan et al:
> 
> Thank you. How about this guy?

> +    if (exp > 31)
> +    {
> +        /* too big */
> +        ret = 0x7fff; /* INF */
> +    }
That's not INF, that is NaN. Or, if you don't read it as a special value the 
highest possible positive number in a float16 format that doesn't understand 
NaNs or INFs

Otherwise it looks OK

Attachment: signature.asc
Description: This is a digitally signed message part.



Reply via email to