[m-rev.] Bugfix for string__to_float

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Feb 11 19:49:38 AEDT 2002


On 11-Feb-2002, Ralph Becket <rafe at cs.mu.OZ.AU> wrote:
> library/string.m:
> 	Fixed a bug in string__to_float/2 which did not fail when it
> 	should have (i.e. it now also fails if the string argument
> 	has preceding whitespace or any trailing characters.)

The code looks fine, but how about a test case for the test suite?

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list