3 search resultsShowing 1~3 results

Stocked
rinp

@rinp

符号の反転

int i = 5; System.out.println((-1)*i)//-5 今まで符号の判定をする際には-1をかける形で書いていた記憶があったのですが マイナス一つで符号が反転できること...

16
13
Comment0

3 search resultsShowing 1~3 results

Qiita is a knowledge sharing service for engineers.

  1. You can follow users and tags
  2. You can stock useful information
  3. You can make edit suggestions for articles
Functions that can be used after logging in