Skip to content

One needs real IEEE floating point support #6

@chemoelectric

Description

@chemoelectric

Writing ‘1.0/0.0’ in ieval gives ‘Runtime error 201: Division by zero’. So does ‘a:=1.0;b:=0.0;a/b’. I want +inf.0 returned. And I need a way to write such ‘not-really-a-numbers’ also.

Otherwise OI is not really that useful for numerical work, compared to nearly any other language I might wish to use (not counting regular Icon, which has similar problems).

Obviously these issues exist partly for historical reasons. Icon has spent its history as a lightly tended relic of the IBM PC era, and never made itself a numerical-friendly language.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions