Skip to content

multipleOf test is invalid #534

Closed
Closed
@karenetheridge

Description

@karenetheridge

I just added support in my implementation for very very very large numbers, which got the test in optional/float-overflow.json passing, but tickled the final test case in multipleOf.json (which divides 1e308 by 0.123456789) -- I don't see how I can pass both these tests, as either I overflow (which should return valid:false), or I don't overflow, and get valid: true...

because, actually, 1e308 divided by 0.123456789 is an integer:
810000007371000067076100610392515554571900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

see discussion in #438
cc @Zac-HD

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