https://issues.dlang.org/show_bug.cgi?id=18227
Berni <dl...@croco-puzzle.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dl...@croco-puzzle.com --- Comment #1 from Berni <dl...@croco-puzzle.com> --- While looking at that problem, I found some related problems: ------ iota(-5.0,double.max,1.0) leeds to "Conversion positive overflow", due to end-start = +infinity ------ iota(0.0,1e30,1.0); leeds to "Conversion positive overflow", due to 1e30 > long.max ------ import std.math: nextUp; iota(0.0,1.0,nextUp(0.0)); leeds to "Conversion positive overflow", due to > long.max potential elements ------ iota(1,1+2*float.epsilon,float.epsilon/4) Works at the moment, but might lead to an endless loop, depending on the bugfix. --