Skip to content

atof() is not an atof() (parses integers only) #51

@braindigitalis

Description

@braindigitalis

It simply casts atol() to double, ignoring decimals, exponents, NaNs, infinities, locale, etc.
Impact: silent numerical misparsing; can break configuration parsing, protocols, and file formats.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions