Skip to content

Precision indicator not properly handled in stdio.c for %f #14

Description

@microbuilder

Precision values with a decimal point are not properly handled in stdio.c for %f, so the following will fail:

sprintf(sbuff,"%5.1f", x);

However, this will work:

sprintf(sbuff,"%4f", x);

Detection and handling of '.' needs to be added to the existing code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions