[m-rev.] Trivial diff: bugfix for string.base_string_to_int
Julien Fischer
juliensf at cs.mu.OZ.AU
Thu Jul 1 14:14:52 AEST 2004
On Thu, 1 Jul 2004, Ralph Becket wrote:
>
> Estimated hours taken: 0.1
> Branches: main
>
> Fixed a bug in string.base_string_to_int/3.
>
> library/string.m:
> Bugfix for string.base_string_to_int/3 (and consequently
> string.to_int/2 and string.det_to_int/1) preventing the strings "+" and
> "-" being interpreted as 0. string.base_string_to_int/3 now requires
> the string to contain at least one digit.
>
Could you please add a test case for this.
Cheers,
Julien.
--------------------------------------------------------------------------
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