Why don't we switch to C like floating pointed arithmetic instead of automatic expansion to reals?

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 6 12:50:22 PDT 2016


On 8/6/2016 5:09 AM, Johannes Pfau wrote:
> I think this restriction is also quite arbitrary.

You're right that there are gray areas, but the distinction is not arbitrary.

For example, mangling does not affect the interface. It affects the name.

Using an attribute has more downsides, as it affects the whole function rather 
than just part of it, like a pragma would.



More information about the Digitalmars-d mailing list