[Issue 16202] Floating point types implicitly convert losing precision

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jun 25 13:06:30 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16202

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy at yahoo.com

--- Comment #3 from Steven Schveighoffer <schveiguy at yahoo.com> ---
You are right, I can't find this explicitly stated anywhere.

However, there is nothing that says it's not allowed, and all current
implementations allow it. If we were to suddenly say "oh, actually, you can't
do that", it would break too much code.

So it's defacto part of the spec. This is still an enhancement.

--


More information about the Digitalmars-d-bugs mailing list