Summary: | strtod() gives inaccurate values on Alpine Linux (musl-libc) under valgrind | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Nick Little <nicklaus.little> |
Component: | general | Assignee: | Julian Seward <jseward> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | pjfloyd |
Priority: | NOR | ||
Version: | 3.21.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Test File |
Description
Nick Little
2023-06-29 15:40:30 UTC
Does Musl use long doubles? Valgrind only handles 64 bit doubles. After looking through musl's strtod implementation, yes, long double is used. That is probably the issue. Marking this as a duplicate. *** This bug has been marked as a duplicate of bug 421262 *** |