Commit 1ae0a286 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

tv: NaN can be negated, too.

parent 6de1dfa0
......@@ -1084,8 +1084,7 @@ void fc_neg(const fp_value *a, fp_value *result)
{
if (a != result)
memcpy(result, a, fp_value_size);
if (result->clss != FC_NAN)
result->sign = !a->sign;
result->sign = !a->sign;
}
flt2int_result_t fc_flt2int(const fp_value *a, sc_word *result,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment