2008-12-17から1日間の記事一覧
gmp_sqrtremをつかって平方根を小数点までちゃんと出す用メモ。 前提として、gmp_sqrtremの戻り値をa 余り bとする。 x = a^2 + b √x = a + γ x = (a + γ)^2 a^2 + b = (a + γ)^2 a^2 + b = a^2 + 2aγ + γ^2 b = 2aγ + γ^2 2aγ + γ^2 - b = 0 γ = -a + √(a^2…
元ネタ 指導とパワハラの境界(あいだ)[前編] http://itpro.nikkeibp.co.jp/article/Watcher/20081020/317269/ 指導とパワハラの境界(あいだ)[後編] http://itpro.nikkeibp.co.jp/article/Watcher/20081020/317270/ なんていうか…「はぁ?」としか。 …