* Jonathan S. Shapiro: > Base conversion is definitely complicated, but I'm pretty sure you have > your conversions wrong below. First, your output values don't match what C# > is getting,
It's quite common that the conversion in the opposite direction rounds away some information because 0.1 + 0.2 = 0.30000000000000004 leads to bug reports. Perhaps C# does this as well? > so can you say how you produced them? I wrote a Python script to find this counterexample. > Second, a 64-bit single-precision unsigned integer has far more precision > than a 64-bit double precision float. But apparently not enough. _______________________________________________ bitc-dev mailing list [email protected] http://www.coyotos.org/mailman/listinfo/bitc-dev
