テンプレート:Divintのソースを表示
←
テンプレート:Divint
ナビゲーションに移動
検索に移動
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
<includeonly>{{#if:{{{3|}}}|{{divint/1|{{{1}}}|{{{2|}}}|{{formatnum:{{{3}}}|R}}}}|{{divint/1|{{{1}}}||{{formatnum:{{{2}}}|R}}}}}}</includeonly><noinclude> This template divides an integer entered as a single parameter or with two parameters like in [[Template:Trunc]], by an integer which is representable as float. For integers which are in absolute value less than 2^63, with results which are in absolute value between 2^53 and 2^63, the result is the nearest integer, which is more accurate than regular division of floats (rounding to float) and even division of numbers of type integer (exact if the mathematical result is an integer, but with rounding of the integers ''and'' rounding of the result to float). Examples: *{{xpsoc|divint|8|3}} *{{xpsoc|divint|8e9|3}} *{{xpsoc|divint|8e10|3}} (note that while this shows the resulting float exactly, this float is the result of the regular rounding of the quotient) *{{xpsoc|divint|8e11|3}} *{{xpsoc|divint|8e12|3}} *{{xpsoc|divint|8e13|3}} *{{xpsoc|divint|8e14|3}} *{{xpsoc|divint|8e15|3}} *{{xpsoc|divint|8e16|3}}; compare: {{xpsoc|numf|8e16/3}} *{{xpsoc|divint|8e17|3}}; compare: {{xpsoc|numf|8e17/3}} *{{xpsoc|divint|8e18|3}}; compare: {{xpsoc|numf|8e18/3}} *{{xpsoc|divint|8e19|3}} *{{xpsoc|divint|1234567890|61235|3}} *{{xpsoc|divint|1234567890|661235|3}} *{{xpsoc|divint|1234567890|6661235|3}} *{{xpsoc|divint|1234567890|66661235|3}} **compare: {{xpsoc|numf|(trunc1234567890e8+trunc66661235)/3}} *{{xpsoc|divint|1234567890|666661235|3}} **compare: {{xpsoc|numf|(trunc1234567890e9+trunc666661235)/3}} *{{xpsoc|divint|1234567890|6666661235|3}} *{{xpsoc|divint|1234567890|66666661235|3}} *{{xpsoc|divint|3,333,333,33|3,333,333,332|3}} *{{xpsoc|divint|3,333,333,33|3,333,333,333|3}} *{{xpsoc|divint|3,333,333,33|3,333,333,334|3}} *{{xpsoc|divint|3,333,333,33|3,333,333,335|3}} *{{xpsoc|divint|3,333,333,33|3,333,333,336|3}} *{{xpsoc|divint|3,333,333,33|3,333,333,337|3}} *{{xpsoc|divint|3,333,333,33|3,333,333,338|3}} *{{xpsoc|divint|3,333,333,33|3,333,333,339|3}} *{{xpsoc|divint|3,333,333,33|3,333,333,340|3}} *{{xpsoc|divint|1e19|3}} *{{xpsoc|divint|1234567890|666661235|987654321}} *{{xpsoc|divint|1234567890|6666661235|987654321}} *{{xpsoc|divint|1234567890|66666661235|987654321}} *{{xpsoc|divint|1234567890|66666661235|1e20}} *{{xpsoc|divint|1e18|1}} *{{xpsoc|divint|1e18|2}} *{{xpsoc|divint|1e18|3}} *{{xpsoc|divint|1e18|4}} *{{xpsoc|divint|1e18|5}} *{{xpsoc|divint|1e18|6}} *{{xpsoc|divint|1e18|7}} *{{xpsoc|divint|1e18|8}} *{{xpsoc|divint|1e18|9}} *{{xpsoc|divint|1e18|10}} *{{xpsoc|divint|1e18|11}} *{{xpsoc|divint|1e18|12}} *{{xpsoc|divint|1e18|13}} *{{xpsoc|divint|1e18|14}} *{{xpsoc|divint|899999999|9999984049|12345}} *{{xpsoc|divint|899999999|9999990197|12345}} *{{xpsoc|divint|899999999|9999990198|12345}} *{{xpsoc|divint|899999999|9999991200|12345}} *{{xpsoc|divint|899999999|9999991300|12345}} *{{xpsoc|divint|899999999|9999996369|12345}} *{{xpsoc|divint|899999999|9999996370|12345}} [[Category:Mathematical templates|{{PAGENAME}}]]</noinclude>
テンプレート:Divint
に戻る。
ナビゲーション メニュー
個人用ツール
ログイン
名前空間
テンプレート
議論
日本語
表示
閲覧
履歴表示
その他
検索
案内
索引
脳科学辞典について
最近完成した項目
編集履歴
執筆にあたって
引用の仕方
著作権について
免責事項
問い合わせ
各学会編集のオンライン用語辞典
About us (in English)
Twitter (BrainScienceBot)
ツール
リンク元
関連ページの更新状況
特別ページ
ページ情報
他のプロジェクト