Skip to content

Type of operations #45

Open
Open
@Saginsky

Description

@Saginsky

I was wondering if something like
int main()
{
double a = 13.7;
while (a < 5.9){
a = a - 1.1;
}
}

would be tested. I am asking because this means that the assembly generated for the comparison can only be determined by looking at the type of the variable within it i.e. a which is a double. This means that we need to do a double precision comparison. From god-bolt there doesn't seem to be any casting involved here just a double precision version of a while loop. Thanks!

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