On 08/12/2016 09:48 AM, Joseph Myers wrote:
On Thu, 11 Aug 2016, Martin Sebor wrote:

  *  New target hooks remove hardcoding target-specific assumptions
     about libc implementation-specific details (%p format and printf
     floating point rounding mode).

But the rounding mode may vary at runtime; optimally the conversions
should use the rounding mode set with fesetround.  Determining it with a
target hook doesn't make sense.  What's more appropriate would be
determining both rounded-up and rounded-down strings to get bounds on the
possible length.

Yes, that's a better solution, thanks.  Is there anything else,
particularly in the floating point area, that you think should
be changed or improved?

Martin

Reply via email to