Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Int check on large unsigned integers #9

Merged
merged 1 commit into from
Sep 5, 2019
Merged

Commits on Sep 3, 2019

  1. fix Int check on large unsigned integers

    Large unsigned integers can't always be converted to floats without
    losing precision.  Checking the NOKp flag and then the NV flag will end
    up checking against an inaccurate value and won't register as an
    integer.
    
    The `p` flags should not be used for type checking, as they represent
    that any value exists in the related slot.  Their value may not be
    accurate.
    
    POK is still checked first, as values like '0e0' will set the IOK flag
    if used as a number.
    haarg committed Sep 3, 2019
    Configuration menu
    Copy the full SHA
    07beaf9 View commit details
    Browse the repository at this point in the history