Skip to content

Floating point numbers incorrectly implement int #64

@munificent

Description

@munificent

What steps will reproduce the problem?

main() {
 print(1.23 is int);
}

What is the expected output? What do you see instead?

Prints true, should be false. This is running in Dartboard. I haven't tested the VM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed-not-plannedClosed as we don't intend to take action on the reported issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions