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
Sun Aug 7 01:12:01 PDT 2016


On 8/6/2016 11:45 PM, Ilya Yaroshenko wrote:
>> So it does make sense that allowing fused operations would be equivalent to
>> having no maximum precision.
>
> Fused operations are mul/div+add/sub only.
> Fused operations does not break compesator subtraction:
> auto t = a - x + x;
> So, please, make them as separate pragma.

ok


More information about the Digitalmars-d mailing list