.. kanai-note documentation master file, created by sphinx-quickstart on Thu Dec 22 14:00:12 2011. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. メモ書きのページ ================= Contents: .. toctree:: :glob: :maxdepth: 1 数学 ^^^^ 補数 """" 10進数における任意の整数 :math:`x,y` を考え、 :math:`10^n > x > y` であるとき、 :math:`z=x-y` を考える。このとき :math:`z=x-y=x+(10^n -1 - y + 1) - 10^n` は自明である。 このとき、 :math:`10^n - 1 - y` を10の補数(a) :math:`10^n - 1 - y + 1` を9の補数(b) といい、 (a)は10進法におけるyに対するの基数の補数 (b)は10進法におけるyに対する減基数の補数 といえる。 !を2進数におけるnotとしたとき、xにおいて、1の補数は :math:`!x` 1の補数は :math:`!x + 1` で表されることは自明である。 雑記 """"" - rc.confのstatic_routeなどで"route_192-168"などはかけず、route_192168などにすること。"-"はセパレータなどとして解釈される?