<p dir="ltr"><br>
On 20 Jun 2015 11:35, "Martin Nowak via Digitalmars-d" <<a href="mailto:digitalmars-d@puremagic.com">digitalmars-d@puremagic.com</a>> wrote:<br>
><br>
> On 06/20/2015 09:52 AM, Walter Bright wrote:<br>
> ><br>
> > Which C runtime are you using? The math functions in C runtimes are<br>
> > often inadequate.<br>
><br>
> So we now call the host's C library to perform constant folding/CTFE of exp?<br>
> This is a point for Iain's proposal to use a high precision floating<br>
> point implementation in the compiler to avoid machine/platform differences.</p>
<p dir="ltr">I thought dmd used the C library implementations for all intrinsics via CTFE, not just exp?</p>
<p dir="ltr">In any case, isn't the problem you are seeing related to the conversion of string to float? Which again dmd is at the mercy of the C library implementation to handle correctly.</p>