[mercury-users] string__to_float
Ralph Becket
rafe at cs.mu.OZ.AU
Tue Feb 12 12:40:48 AEDT 2002
Fergus Henderson, Monday, 11 February 2002:
> On 11-Feb-2002, Ralph Becket <rafe at cs.mu.OZ.AU> wrote:
> > Michael Day, Monday, 11 February 2002:
> > >
> > > Perhaps the documentation for string__to_float should be amended to state
> > > that it accepts strings of the form "123.0abc" and will only fail if the
> > > beginning of the string is not numeric.
> >
> > That is an error in string__to_float - it should fail if the entire
> > string argument is not a well formed float representation.
>
> Agreed. I've got a fix for this, which I will post to the
> mercury-reviews list after I've tested it properly.
I've checked in the fix.
--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the users
mailing list