float a = 1.234f; float b = to!float("1.234"); assert (a == b);assert (a == to!float("1.234")); // is allowed to fail due to constant folding
- Re: floating point conversion bearophile via Digitalmars-d-learn
- Re: floating point conversio... Martin Krejcirik via Digitalmars-d-learn
- Re: floating point conve... Qox via Digitalmars-d-learn
- Re: floating point c... Wanderer via Digitalmars-d-learn
- Re: floating point conversio... Famous via Digitalmars-d-learn
- Re: floating point conve... Martin Krejcirik via Digitalmars-d-learn
- Re: floating point c... Famous via Digitalmars-d-learn
- Re: floating poi... Famous via Digitalmars-d-learn
- Re: floating poi... Martin Krejcirik via Digitalmars-d-learn
- Re: floating point conve... Jonathan M Davis via Digitalmars-d-learn
- Re: floating point conversion Famous via Digitalmars-d-learn
- Re: floating point conversion Gary Willoughby via Digitalmars-d-learn