D-Programming-Language/dmd — pull request #2276 by ibuclaw (2013-06-29 15:54:19+00:00)
Title: Catch ±Inf bugs.

GDC's ld_sprint will print +Inf/-Inf rather than INF/NINF (see gcc's real.c real_to_decimal_for_mode).

Better to catch infinity here so that mangling is correct.