[mercury-users] string__to_float

Ralph Becket rafe at cs.mu.OZ.AU
Mon Feb 11 15:45:03 AEDT 2002


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.

- Ralph
--------------------------------------------------------------------------
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