"%a" formatting differences

bearophile bearophileHUGS at lycos.com
Mon Dec 14 12:18:17 PST 2009


BCS:
> Just a guess: D is correctly using double and C is assuming float? Try running 
> it with d1 as a float to check.

I have run the code again with the last D1 compiler, and now writeln is giving the same result as printf. So probably it was a writefln bug that's already fixed.
Sorry for the useless noise -.-

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list