Adam Nemet <ane...@caviumnetworks.com> writes:

> Ian Lance Taylor writes:
>> I'm not entirely sure, but I don't think Jim said the opposite.  He said
>> that the way truncate works is machine dependent.  I said that the
>> output of truncate is machine independent.  Since truncate is only
>> defined for fixed-point modes, I think both statements are true.
>
> OK but in that way every operation is machine dependent not just truncate.

Yes.

> BTW, why is being fixed-point relevant here?

Because truncating from DFmode to SFmode really is machine dependent,
since it depends on the floating point representation being used.  We
use float_truncate for that.

Ian

Reply via email to