Loss of precision errors in FP conversions

Walter Bright newshound2 at digitalmars.com
Tue Apr 19 19:02:35 PDT 2011


On 4/19/2011 6:46 PM, bearophile wrote:
> Walter:
>
>> Hence my reluctance to add in a lot of these suggestions.
>
> In an answer I've suggested the alternative solution of a
> -warn_fp_precision_loss compiler switch, that produces warnings only when you
> use it. In theory this avoids most of the Nagging Nellie problem, because you
> use this switch only in special situations. But I am aware you generally
> don't like warnings.

Yes, I've argued strongly against warnings.




More information about the Digitalmars-d mailing list