Skip to content

Run_Up should indicate sign change as well as overflow #5

@simonjwright

Description

@simonjwright

Walker’s comments in Mill.java say for addition

:186 Check for passage through infinity (carry out) and set run up lever if that has occurred. The result is then taken modulo 10^50.

:193 Run up gets set when the result of an addition changes the sign of the first argument. Note that since the same lever is used to indicate carry and change of sign, it is not possible to distinguish overflow from sign change.

and similarly for subtraction at :210, :217.

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