Skip to content

Should be long double.... #1

Description

@pulgamecanica

long int temp = strtod(av, &end);

This implicit conversion will induce a data loss.
Let's say for example that you converted "42.42f" then temp would loose the ".42f" and would only save 42.0...
Should use

use long double instead...

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