floating point conversion

Famous via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jun 1 07:42:34 PDT 2014


On Sunday, 1 June 2014 at 12:45:26 UTC, bearophile wrote:
> It's a bad question.

Actually, Martin's question is a good one.

Initializing a variable of type float via a literal or as 
conversion from string should be the same, exacly, always. 
Casting a float to double should be deterministic as well.

Famous


More information about the Digitalmars-d-learn mailing list