<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://bsd.neuroinf.jp/w/index.php?action=history&amp;feed=atom&amp;title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88%3AOom2</id>
	<title>テンプレート:Oom2 - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://bsd.neuroinf.jp/w/index.php?action=history&amp;feed=atom&amp;title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88%3AOom2"/>
	<link rel="alternate" type="text/html" href="https://bsd.neuroinf.jp/w/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Oom2&amp;action=history"/>
	<updated>2026-04-17T17:32:14Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://bsd.neuroinf.jp/w/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Oom2&amp;diff=29370&amp;oldid=prev</id>
		<title>Nijcadmin: 1版</title>
		<link rel="alternate" type="text/html" href="https://bsd.neuroinf.jp/w/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Oom2&amp;diff=29370&amp;oldid=prev"/>
		<updated>2015-03-14T03:15:35Z</updated>

		<summary type="html">&lt;p&gt;1版&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#ifexpr:({{{1}}})&amp;lt;0|number &amp;lt;0|{{#ifexpr:({{{1}}})=0|-1E308|{{#expr:0+((ln({{{1}}})/ln2)round0){{#ifexpr:({{#ifexpr:(({{{1}}})&amp;gt;2^52)and(((ln({{{1}}})/ln2)round0)&amp;lt;63)|trunc(2^((ln({{{1}}})/ln2)round0))|2^((ln({{{1}}})/ln2)round0)}}&amp;gt;({{{1}}}))or((({{{1}}})=2^63)and(({{{1}}})=trunc({{{1}}})))|-1}}}}}}}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
This template determines the log to the base 2, rounded down to an integer (binary [[w:order of magnitude|&amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;rder &amp;#039;&amp;#039;&amp;#039;O&amp;#039;&amp;#039;&amp;#039;f &amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039;agnitude]]), of a number of type float. In other words, it determines the log to the base 2 of the number rounded down to a power of 2. &lt;br /&gt;
&lt;br /&gt;
The internally representable number should not be confused with the given decimal number:&lt;br /&gt;
*{{xpsoc|oom2|3.9999999999999999}}&lt;br /&gt;
Thus the template takes the input as representing an internally representable number, just like #expr does, as opposed to applying string operations to find the characters in the decimal notation and then find the required quantity for the exact decimal number.&lt;br /&gt;
&lt;br /&gt;
*{{xpsoc|oom2|1e2}}&lt;br /&gt;
*{{xpsoc|oom2|1e3}}&lt;br /&gt;
*{{xpsoc|oom2|1e4}}&lt;br /&gt;
*{{xpsoc|oom2|1e5}}&lt;br /&gt;
*{{xpsoc|oom2|1e6}}&lt;br /&gt;
*{{xpsoc|oom2|1e7}}&lt;br /&gt;
*{{xpsoc|oom2|1e8}}&lt;br /&gt;
*{{xpsoc|oom2|1e9}}&lt;br /&gt;
*{{xpsoc|oom2|1e10}}&lt;br /&gt;
*{{xpsoc|oom2|1e11}}&lt;br /&gt;
*{{xpsoc|oom2|1e12}}&lt;br /&gt;
*{{xpsoc|oom2|1e13}}&lt;br /&gt;
*{{xpsoc|oom2|1e14}}&lt;br /&gt;
*{{xpsoc|oom2|1e15}}&lt;br /&gt;
*{{xpsoc|oom2|1e16}}&lt;br /&gt;
*{{xpsoc|oom2|1e17}}&lt;br /&gt;
*{{xpsoc|oom2|1e18}}&lt;br /&gt;
*{{xpsoc|oom2|1e19}}&lt;br /&gt;
*{{xpsoc|oom2|1e20}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc53-trunc1}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc53}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc54-trunc1}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc54}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc55-trunc1}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc55}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc56-trunc1}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc56}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc57-trunc1}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc57}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc58-trunc1}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc58}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc59-trunc1}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc59}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc60-trunc1}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc60}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc61-trunc1}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc61}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc62-trunc1}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc62}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc62-trunc1+trunc2^trunc62}}&lt;br /&gt;
*{{xpsoc|oom2|trunc2^trunc63}}&lt;br /&gt;
*{{xpsoc|oom2|2^-900-2^-953}}&lt;br /&gt;
*{{xpsoc|oom2|2^-900-2^-954}}&lt;br /&gt;
**{{xpsoc|#expr:(2^-900-2^-954)-2^-900}}&lt;br /&gt;
*{{xpsoc|oom2|2^1000-2^947}}&lt;br /&gt;
*{{xpsoc|oom2|2^1000-2^946}}&lt;br /&gt;
**{{xpsoc|#expr:(2^1000-2^946)-2^1000}}&lt;br /&gt;
*{{xpsoc|oom2|2^1000}}&lt;br /&gt;
*{{xpsoc|oom2|2^1001}}&lt;br /&gt;
*{{xpsoc|oom2|2^1002}}&lt;br /&gt;
*{{xpsoc|oom2|2^1003}}&lt;br /&gt;
*{{xpsoc|oom2|2^1004}}&lt;br /&gt;
*{{xpsoc|oom2|2^1005}}&lt;br /&gt;
*{{xpsoc|oom2|2^1006}}&lt;br /&gt;
*{{xpsoc|oom2|2^1007}}&lt;br /&gt;
*{{xpsoc|oom2|2^1008}}&lt;br /&gt;
*{{xpsoc|oom2|2^1009}}&lt;br /&gt;
*{{xpsoc|oom2|2^1010}}&lt;br /&gt;
*{{xpsoc|oom2|2^1011}}&lt;br /&gt;
*{{xpsoc|oom2|2^1012}}&lt;br /&gt;
*{{xpsoc|oom2|(2-2^-52)*2^1000}}&lt;br /&gt;
*{{xpsoc|oom2|(2-2^-52)*2^1001}}&lt;br /&gt;
*{{xpsoc|oom2|(2-2^-52)*2^1002}}&lt;br /&gt;
*{{xpsoc|oom2|(2-2^-52)*2^1003}}&lt;br /&gt;
*{{xpsoc|oom2|(2-2^-52)*2^1004}}&lt;br /&gt;
*{{xpsoc|oom2|(2-2^-52)*2^1005}}&lt;br /&gt;
*{{xpsoc|oom2|(2-2^-52)*2^1006}}&lt;br /&gt;
*{{xpsoc|oom2|(2-2^-52)*2^1007}}&lt;br /&gt;
*{{xpsoc|oom2|(2-2^-52)*2^1008}}&lt;br /&gt;
*{{xpsoc|oom2|(2-2^-52)*2^1009}}&lt;br /&gt;
*{{xpsoc|oom2|(2-2^-52)*2^1010}}&lt;br /&gt;
*{{xpsoc|oom2|(2-2^-52)*2^1011}}&lt;br /&gt;
*{{xpsoc|oom2|(2-2^-52)*2^1023}}&lt;br /&gt;
*{{xpsoc|oom2|(2-2^-52)*2^1023}}&lt;br /&gt;
*{{xpsoc|oom2|(2-2^-52)*2^1023}}&lt;br /&gt;
*{{xpsoc|oom2|2^1024}}&lt;br /&gt;
*{{xpsoc|oom2|2^-1074}}&lt;br /&gt;
*{{xpsoc|oom2|2^-1075}}&lt;br /&gt;
*{{xpsoc|oom2|0}}&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#expr:2^{{oom2|2^-1075}}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{#expr:2^{{oom2|2^-1075}}}}&lt;br /&gt;
*&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#expr:2^{{oom2|0}}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{#expr:2^{{oom2|0}}}}&lt;br /&gt;
&lt;br /&gt;
*{{xpsoc|oom2|2^61}}&lt;br /&gt;
*{{xpsoc|oom2|trunc(2^62-512)+trunc511}}&lt;br /&gt;
*{{xpsoc|oom2|2^62}}&lt;br /&gt;
*{{xpsoc|oom2|1.5*2^62}}&lt;br /&gt;
*{{xpsoc|oom2|trunc(2^63-1024)+trunc1023}}&lt;br /&gt;
*{{xpsoc|oom2|1.5*2^63}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Mathematical templates|{{PAGENAME}}]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nijcadmin</name></author>
	</entry>
</feed>