Skip to content

Comments

jenkin.scr#86

Merged
usernamealreadyis merged 1 commit intousernamealreadyis-cs1from
usernamealreadyis-cs2
Jul 11, 2017
Merged

jenkin.scr#86
usernamealreadyis merged 1 commit intousernamealreadyis-cs1from
usernamealreadyis-cs2

Conversation

@usernamealreadyis
Copy link
Contributor

Integer Arithmetic

6 * ((-2 + 3) * (2 - 1))
=> 6 * (-1 * (2 - 1))
=> 6 * (-1 * 1) => 6 * -1 => -6

The application that computes this answer would appear as follows:

public class Test
{ public static void main(String[] args)
{ System.out.println(6 * ((-2 + 3) * (2 - 1))); }
}

6 * (-2 + 3) * (2 - 1)
=> 6 * -1 * (2 - 1)
=> -6 * (2 - 1) => -6 * 1 => -6

6 * -2 + 3 * (2 - 1)
=> -12 + 3 * (2 - 1)
=> -12 + 3 * 1 => -12 + 3 => -9

6 * -2 + 3 * 2 - 1
=> -12 + 3 * 2 - 1
=> -12 + 6 - 1 => -6 - 1 => -7

Integer Arithmetic

1.

6 * ((-2 + 3) * (2 - 1))
=>  6 * (-1 * (2 - 1))
=>  6 * (-1 * 1)  =>  6 * -1  =>  -6

The application that computes this answer would appear as follows:

public class Test
{ public static void main(String[] args)
  { System.out.println(6 * ((-2 + 3) * (2 - 1))); }
}

2.

6 * (-2 + 3) * (2 - 1) 
=>  6 * -1 * (2 - 1)
=>  -6 * (2 - 1)  =>  -6 * 1  => -6

3.

6 * -2 + 3 * (2 - 1) 
=>  -12 + 3 * (2 - 1)
=>  -12 + 3 * 1  =>  -12 + 3  =>  -9

4.

6 * -2 + 3 * 2 - 1 
=>  -12 + 3 * 2 - 1
=>  -12 + 6 - 1  =>  -6 - 1  =>  -7
@usernamealreadyis usernamealreadyis added this to the OpenSSL CHANGES log milestone Jul 11, 2017
@usernamealreadyis usernamealreadyis merged commit b514bcd into usernamealreadyis-cs1 Jul 11, 2017
@GistIcon GistIcon locked as resolved and limited conversation to collaborators Jan 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants