[m-rev.] diff: fix io.write_float with special float values in C grades

Julien Fischer jfischer at opturion.com
Mon Jun 30 16:59:23 AEST 2014

On Mon, Jun 30, 2014 at 3:23 PM, Julien Fischer <jfischer at opturion.com>

> Fix the printing float special values with write_float in C grades.
> runtime/mercury_float.c:
>         When printing floats, do not append ".0" to nan, inf or -inf

The C# grade also gets this one wrong (same problem).  The test case causes
the Erlang grade to crash.  (Things appear to be ok in the Java grade.)

I'll have a fix for the C# grade problem shortly.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20140630/b5e8ba13/attachment.html>

More information about the reviews mailing list