跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
天灾之下:危险连接官网(建设中)
天灾之下:危险连接QQ群
天灾之下:危险连接 Bilibili
冰糖服务器
冰糖服务器QQ群
天灾之下:危险连接资料站
搜索
搜索
中文(中国大陆)
外观
创建账号
登录
个人工具
创建账号
登录
查看“︁模板:Oom2”︁的源代码
模板
讨论
大陆简体
阅读
查看源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
查看源代码
查看历史
常规
链入页面
相关更改
页面信息
[[雷光]]
外观
移至侧栏
隐藏
←
模板:Oom2
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<includeonly>{{#ifexpr:({{{1}}})<0|number <0|{{#ifexpr:({{{1}}})=0|-1E308|{{#expr:0+((ln({{{1}}})/ln2)round0){{#ifexpr:({{#ifexpr:(({{{1}}})>2^52)and(((ln({{{1}}})/ln2)round0)<63)|trunc(2^((ln({{{1}}})/ln2)round0))|2^((ln({{{1}}})/ln2)round0)}}>({{{1}}}))or((({{{1}}})=2^63)and(({{{1}}})=trunc({{{1}}})))|-1}}}}}}}}</includeonly><noinclude> This template determines the log to the base 2, rounded down to an integer (binary [[w:order of magnitude|'''O'''rder '''O'''f '''M'''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. The internally representable number should not be confused with the given decimal number: *{{xpsoc|oom2|3.9999999999999999}} 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. *{{xpsoc|oom2|1e2}} *{{xpsoc|oom2|1e3}} *{{xpsoc|oom2|1e4}} *{{xpsoc|oom2|1e5}} *{{xpsoc|oom2|1e6}} *{{xpsoc|oom2|1e7}} *{{xpsoc|oom2|1e8}} *{{xpsoc|oom2|1e9}} *{{xpsoc|oom2|1e10}} *{{xpsoc|oom2|1e11}} *{{xpsoc|oom2|1e12}} *{{xpsoc|oom2|1e13}} *{{xpsoc|oom2|1e14}} *{{xpsoc|oom2|1e15}} *{{xpsoc|oom2|1e16}} *{{xpsoc|oom2|1e17}} *{{xpsoc|oom2|1e18}} *{{xpsoc|oom2|1e19}} *{{xpsoc|oom2|1e20}} *{{xpsoc|oom2|trunc2^trunc53-trunc1}} *{{xpsoc|oom2|trunc2^trunc53}} *{{xpsoc|oom2|trunc2^trunc54-trunc1}} *{{xpsoc|oom2|trunc2^trunc54}} *{{xpsoc|oom2|trunc2^trunc55-trunc1}} *{{xpsoc|oom2|trunc2^trunc55}} *{{xpsoc|oom2|trunc2^trunc56-trunc1}} *{{xpsoc|oom2|trunc2^trunc56}} *{{xpsoc|oom2|trunc2^trunc57-trunc1}} *{{xpsoc|oom2|trunc2^trunc57}} *{{xpsoc|oom2|trunc2^trunc58-trunc1}} *{{xpsoc|oom2|trunc2^trunc58}} *{{xpsoc|oom2|trunc2^trunc59-trunc1}} *{{xpsoc|oom2|trunc2^trunc59}} *{{xpsoc|oom2|trunc2^trunc60-trunc1}} *{{xpsoc|oom2|trunc2^trunc60}} *{{xpsoc|oom2|trunc2^trunc61-trunc1}} *{{xpsoc|oom2|trunc2^trunc61}} *{{xpsoc|oom2|trunc2^trunc62-trunc1}} *{{xpsoc|oom2|trunc2^trunc62}} *{{xpsoc|oom2|trunc2^trunc62-trunc1+trunc2^trunc62}} *{{xpsoc|oom2|trunc2^trunc63}} *{{xpsoc|oom2|2^-900-2^-953}} *{{xpsoc|oom2|2^-900-2^-954}} **{{xpsoc|#expr:(2^-900-2^-954)-2^-900}} *{{xpsoc|oom2|2^1000-2^947}} *{{xpsoc|oom2|2^1000-2^946}} **{{xpsoc|#expr:(2^1000-2^946)-2^1000}} *{{xpsoc|oom2|2^1000}} *{{xpsoc|oom2|2^1001}} *{{xpsoc|oom2|2^1002}} *{{xpsoc|oom2|2^1003}} *{{xpsoc|oom2|2^1004}} *{{xpsoc|oom2|2^1005}} *{{xpsoc|oom2|2^1006}} *{{xpsoc|oom2|2^1007}} *{{xpsoc|oom2|2^1008}} *{{xpsoc|oom2|2^1009}} *{{xpsoc|oom2|2^1010}} *{{xpsoc|oom2|2^1011}} *{{xpsoc|oom2|2^1012}} *{{xpsoc|oom2|(2-2^-52)*2^1000}} *{{xpsoc|oom2|(2-2^-52)*2^1001}} *{{xpsoc|oom2|(2-2^-52)*2^1002}} *{{xpsoc|oom2|(2-2^-52)*2^1003}} *{{xpsoc|oom2|(2-2^-52)*2^1004}} *{{xpsoc|oom2|(2-2^-52)*2^1005}} *{{xpsoc|oom2|(2-2^-52)*2^1006}} *{{xpsoc|oom2|(2-2^-52)*2^1007}} *{{xpsoc|oom2|(2-2^-52)*2^1008}} *{{xpsoc|oom2|(2-2^-52)*2^1009}} *{{xpsoc|oom2|(2-2^-52)*2^1010}} *{{xpsoc|oom2|(2-2^-52)*2^1011}} *{{xpsoc|oom2|(2-2^-52)*2^1023}} *{{xpsoc|oom2|(2-2^-52)*2^1023}} *{{xpsoc|oom2|(2-2^-52)*2^1023}} *{{xpsoc|oom2|2^1024}} *{{xpsoc|oom2|2^-1074}} *{{xpsoc|oom2|2^-1075}} *{{xpsoc|oom2|0}} *<code><nowiki>{{#expr:2^{{oom2|2^-1075}}}}</nowiki></code> → {{#expr:2^{{oom2|2^-1075}}}} *<code><nowiki>{{#expr:2^{{oom2|0}}}}</nowiki></code> → {{#expr:2^{{oom2|0}}}} *{{xpsoc|oom2|2^61}} *{{xpsoc|oom2|trunc(2^62-512)+trunc511}} *{{xpsoc|oom2|2^62}} *{{xpsoc|oom2|1.5*2^62}} *{{xpsoc|oom2|trunc(2^63-1024)+trunc1023}} *{{xpsoc|oom2|1.5*2^63}} [[Category:Mathematical templates|{{PAGENAME}}]] </noinclude>
该页面嵌入的页面:
模板:Oom2
(
查看源代码
)
模板:Xpsoc
(
查看源代码
)
模块:Xpsoc
(
查看源代码
)
返回
模板:Oom2
。
搜索
搜索
查看“︁模板:Oom2”︁的源代码
添加语言
添加话题