Printing shortest decimal form of floating point number with Mir
Ola Fosheim Grostad
ola.fosheim.grostad at gmail.com
Mon Jan 4 05:55:37 UTC 2021
On Monday, 4 January 2021 at 04:37:22 UTC, 9il wrote:
> I suppose the answer would be that D doesn't pretend to support
> all C++ template features and the bug is not a bug because we
> live with this somehow for years.
But it is a bug even if there was no C++... An alias should work
by simple substitution, if it does not, then it is no alias...
> I didn't believe it when I got a similar answer about IEEE
> floating-point numbers: D doesn't pertinent to be IEEE 754
> compatible language and the extended precision bug is declared
> to be a language feature. I suppose we shouldn't expect D to
> pretend to be a robust language for large business projects.
I think this is up to the compiler?
More information about the Digitalmars-d-announce
mailing list