issue 7006 - std.math.pow (integral, integral) crashes on negative exponents
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Tue Dec 17 20:55:07 UTC 2019
On Tuesday, 17 December 2019 at 20:35:33 UTC, Timon Gehr wrote:
>> Besides, that is not what it said on the page.
> Yes, this is precisely what is says on the page.
Er.. No. As I said, it is an ISO standard, and thus exists to
codify existing practice. That means that some representatives
from countries can block decisions. So first the webpage say that
you may get a domain error. Then it refers to an IEC standard
The may part is usually there to not make life difficult for
existing implementations. So the foundation is IEC, but to bring
all on board they probably put in openings that _MAY_ be used.
This is what you get from standardization. The purpose of ISO
standardization is not create something new and pretty, but to
reduce tendencies towards diverging ad hoc or proprietary
standards. It is basically there to support international markets
and fair competition... Not to create beautiful objects.
The process isn't really suited for programming language design,
I think C++ is an outlier.
More information about the Digitalmars-d