Skip to content

Random block not marked NaN-able even though it returns NaN with inputs -Infinity and Infinity #103

Closed
@Tacodiva

Description

@Tacodiva

This block:
image

returns NaN in TurboWarp but 0 in Scratch, because random can return NaN when it's inputs are -Infinity and Infinity, but is not marked as able to be NaN.

See demo project 773386490 on Scratch and TurboWarp.

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