[Issue 3000] iota should work with floats
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jul 11 12:11:34 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3000
Andrei Alexandrescu <andrei at metalanguage.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
--- Comment #3 from Andrei Alexandrescu <andrei at metalanguage.com> 2009-07-11 12:11:32 PDT ---
(In reply to comment #2)
> Should the examples be updated to include one for floats, maybe?
Done. Also found and fixed a couple of issues with negative ranges.
> Also, how about adding a bit more sanity checking such as B, E, and S are all
> numeric types?
B and E can be pointers. I did add a check that should eliminate nonsensical
calls.
> Also, what does 'iota' stand for? I keep reading it as 'itoa' which is
> obviously wrong.
It's an actual word of which meaning in the current context I borrowed from
some STL implementations (http://www.sgi.com/tech/stl/iota.html).
Bug fixed and checked in; the fix will come in dmd 2.032.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list