Thread Links Date Links
Thread Prev Thread Next Thread Index Date Prev Date Next Date Index

Re: Constructors motion 30 Version 2: small amendment



Dan Zuras wrote:
>  P.S. - While num2interval() takes a floating-point number as input
>         I'm sure that text2interval() can be made safe by defining the
>         output to be ÝroundDown(text2num(text)),roundUp(text2num(text))¨.

Surely he meant:
          Ýtext2num(text,roundDown), text2num(text,roundUp)¨.

(In other words, the conversion from string to level-2 datum must use
directed rounding.  Whether text2num() supports explicit rounding, or
whether the two conversions must be bracketed by blocks that specify
a local rounding direction, is a separate issue -- but one that we
addressed with Motion 24.03, Rounded Operations, which passed.)

Michel.
---Sent: 2012-02-07 17:12:34 UTC