https://issues.dlang.org/show_bug.cgi?id=23846 --- Comment #6 from mhh <maxhaton at gmail.com> --- It isn't enough to check ERANGE - underflow can (I think it's implementation defined) trigger ERANGE but if the result is nonzero it's still supposed to be correctly rounded. --