Skip to content

[Question][Hw4] Minor questions #34

@ShinWonho

Description

@ShinWonho

There are some things confusing for me, so I want to clarify them.

  1. Abstract semantics of division
    • The output of the abstract semantics of div is defined as top when the divisor can be potentially zero.
    • With this instruction, Bottom divided by potentially zero is Top or Bottom?
    • It can be viewed as Top because of instruction above, and it can be also viewed as Bottom because no division is performed actually.
  2. Abstract semantics of comparing operations
    • I think that result of comparing operation is boolean but it is value(integer) in homework.pdf.
    • What is the meaning of this?
  3. Can I assume the division is integer division?

Thank you.

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