https://issues.dlang.org/show_bug.cgi?id=12210

--- Comment #12 from Gerald Jansen <jansen.ger...@gmail.com> ---
The "Round floating point numbers" example is too fragile.

It vomits incomprehensible messages (not a pretty sight for casual visitors!)
for almost any input except for one or more floating point numbers separated by
a single space. The default input line "2.4 plus 2.4 ..." causes the crash, for
example. So does any extra leading, trailing or embedded white-space.

(Interestingly, input "2.4 2.4e9" doesn't crash, but only rounds the first
number.)

--

Reply via email to