_parseDouble

private fnbool _parseDouble(const(char)[] s, out double result) @trusted

Parse a string as a double value.

This helper works around an LDC bug on Windows where std.conv.to!double throws a ConvException ("Range error") for values near double.max, including the exact string representation of double.max itself. On LDC/Windows, we use C's strtod directly which handles these cases correctly.

Parameters

sThe string to parse.
resultOutput parameter for the parsed value.

Returns

true on success, false on parse error.