So why double to float conversion is implicit ?
jmh530
john.michael.hall at gmail.com
Sun Oct 22 13:55:34 UTC 2017
On Sunday, 22 October 2017 at 13:41:23 UTC, User wrote:
> Is there a list of such quirks or gotchas in dlang?
>
> The ones I know of are
>
> 1. Implicit conversion from double to float
>
> 2. Integer division results in integer result truncation the
> fractional part.
>
> 3. ??
#2 is common for statically typed languages.
I find implicit conversions to be the most common gotchas I've
experienced, probably a few other things, but I can't recall.
More information about the Digitalmars-d
mailing list