Re: Constructors motion 30 Version 2: small amendment
Vincent Levèvre a écrit:
> > Surely he [Dan Z] meant:
> > ?text2num(text,roundDown), text2num(text,roundUp)?.
>
> That's very ambiguous. What if text is "3/pi"? Does roundDown mean
> that one should use this rounding direction for all operations, ...
Unlike text2interval(), text2num() (if referring to the 754-2008 one)
only applies to decimal (or perhaps other bases) digit strings, so this
issue does not arise (nor does text2num("[1,2]"), for the same reason).
In any case, the meaning of rounding for 754-2008 operations applies
only ONCE, in coercing the result to a result format (formatOf concept).
So both explicit (as a 2nd argument) or implicit (as local mode) rounding
are unambiguous when applied to a single operation.
Michel.
---Sent: 2012-02-08 14:34:43 UTC