Displaying 1 result from an estimated 1 matches for "__extendsfdf2".
Did you mean:
__extenddftf2
2011 Nov 02
0
[LLVMdev] Issues in compiler-rt __truncdfsf2 and __extendsfdf2 functions?
...if on line 137 of truncdfsf2.c should be (aAbs >=
overflow) instead of the current (aAbs > overflow) because overflow is
0x1p+128 which cannot be represented as a float. Changing the condition
to (aAbs >= overflow) fixes this issue. The attached patch does this.
The second issue is in how __extendsfdf2 handles signaling NaNs.
Currently __extendsfdf2 extends a float signaling NaN to a double
signaling NaN. TestFloat expects the result to be a double quiet NaN. I
think the IEEE-754 standard defines that an operation involving a
signaling NaN should deliver a quiet NaN as its result but I don't...