Giving up
Steven Schveighoffer
schveiguy at gmail.com
Fri Aug 5 16:08:50 UTC 2022
On 8/5/22 11:57 AM, React wrote:
> On Friday, 5 August 2022 at 15:44:10 UTC, Steven Schveighoffer wrote:
>> On 8/5/22 11:36 AM, Rumbu wrote:
>>> float z = 85886696878585969769557975866955695.E0; //integer overflow,
>>> I don't see any int
>>
>> That's an integer, which is trying to call a UFCS function named `E0`.
>> Did you mean to include the `.`?
>>
>
> Yes, continue to argue, exactly what I am saying. It worked before
> because numbers were eagerly consumed in the parser. Someone made a
> change without dovumenting it.
Just saying, I see an integer. That's an integer according to the
language (as far back as I can test, which is 2.060 released 2012). If
that was somehow parsing as a float before, that was a bug in the
parser. Since your first release is 0.9, released Jan 2018, I find it
hard to believe this ever worked for you.
> That value is not even written by me, it
> is from an official test file from Intel which should be parsed by any C
> compiler.
D is not a C compiler. Well it has an experimental one, but that
shouldn't be relied on for testing.
-Steve
More information about the Digitalmars-d-announce
mailing list