Skip to content

parsing issue for hexadecimal #60

Description

@rschumi0

I discovered a parsing issue for the hexadecimal representation of floats or doubles. When a literal is starting with 0x1.a ... 0x1.f then there is an error, but they get correctly parsed when they start with 0x1.0 ... 0x1.9.

float a = 0x1.c4c52cp-1f; // produces an error, 0x1.1c52cp-1f works

(And Is there a reason why hex and octal literals are supported, but not binary ones?)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions