Re: Motion 46: finalise interval literals, amendments
On 2013-06-26, at 3:25 PM, Ralph Baker Kearfott <rbk5287@xxxxxxxxxxxxx> wrote:
> Ned et al,
>
> On 06/25/2013 04:37 PM, Ned Nedialkov wrote:
>> On 2013-06-23, at 10:21 PM, Jürgen Wolff von Gudenberg <wolff@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>>> p1788 SHALL prescribe the strings that are valid inputs for text2intval
>> By text2interval, I would consider only converting a string to an interval, not two strings that represent an
>> interval to an interval. So, we can assume the same syntax of a string as let's say what C or Fortran assumes.
>
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.
Regards,
Ned
> I\m not sure what you mean here. How does specifying that
> we have two text strings corresponding to numbers in a
> particular programming language or in accepted mathematical
> notation, separated by a comma and delimited by square
> brackets, differ from specifying a single text string with
> components having the same attributes?
>
> A second thought: Does anyone have any qualms about
> specifying "[" and "]" concretely? (Those symbols may
> already have been used in programming languages
> used to access the standard-conforming implementation.)
>
> Best regards,
>
> Baker
>
> --
>
> ---------------------------------------------------------------
> R. Baker Kearfott, rbk@xxxxxxxxxxxxx (337) 482-5346 (fax)
> (337) 482-5270 (work) (337) 993-1827 (home)
> URL: http://interval.louisiana.edu/kearfott.html
> Department of Mathematics, University of Louisiana at Lafayette
> (Room 217 Maxim D. Doucet Hall, 1403 Johnston Street)
> Box 4-1010, Lafayette, LA 70504-1010, USA
> ---------------------------------------------------------------
>