White today found COMPUTER arithmetic is very interesting, the post summarizes it
I-Basic
Plus +
Decrease-
multiply*
get rid of
Click to view code
1. Take the remainder % 2. Modulo/integer divided by integer 3. Retain decimal %.nf (n is n decimal places)II - Interesting Edition
a=(... ,... ,... ,... ,...) //a is assigned to the content after the last comma.
a=... ,... ,... ,... ,... ;//Assign a to the first number after the equal sign.
. . in fact .Each of the operations in the parentheses is performed, only the display output rules are differentIt's really interesting.