true on success, false on parse error.bool _parseDouble(const(char)[] s, out double result) @trustedParse 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.
s | The string to parse. |
result | Output parameter for the parsed value. |
true on success, false on parse error.