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
Thu Aug 4 14:35:52 PDT 2016


On 8/4/2016 2:13 PM, Iain Buclaw via Digitalmars-d wrote:
> This could be something specific to your architecture.  I get the same
> result on from all versions of powf, and from GCC builtins too,
> regardless of optimization tunings.


It's important to remember that what gcc does and what the C standard allows are 
not necessarily the same - even if the former is standard compliant. C allows 
for a lot of implementation defined FP behavior.


More information about the Digitalmars-d mailing list