Re: Motion 46: finalise interval literals, amendments
On 2013-06-26, at 4:56 PM, Michel Hack <mhack@xxxxxxx> wrote:
> Ned Nedialkov wrote:
>>> I meant take a string that represents one decimal number, e.g. "0.1".
>>> Then text2interval("0.1") will return the binary interval containing 0.1.
>>>
>>> Then leave to the user to convert left and right bounds. This will make
>>> it simpler for the standard and more flexible for the user.
>
> Baker Kearfott replied:
>> The user would then rely on the P-1788 floating-point-to-interval
>> constructor "nums2interval".
>
> No -- Ned's text2interval() returns an interval enclosing the singleton.
> The next step would therefore be the Union operator.
Yes. My view is let the standard have a minimal set of building blocks,
and having just a string to interval is sufficient IMO.
Then I can use the Union operator.
Ned