Help:计算:修订间差异

帮助页面
添加的内容 删除的内容
无编辑摘要
第98行: 第98行:
|}
|}
|-
|-
| {{anchor|科學記號}}'''<code>e</code>'''<br/> (位於子表達式之間)|| 2 || *10^<br/>以10為底的指數<br/>[[科學記號]] || [http://php.net/manual/en/language.operators.arithmetic.php *] [http://php.net/manual/en/function.pow.php pow] (10,..) || 浮點數,除非左邊的參數是整數且指數是非負整數 || {{nts|10}}
| {{anchor|科學記號}}'''<code>e</code>'''<br/> (位於子表達式之間)|| 2 || *10^<br/>以10為底的指數<br/>[[科學記號]]|| [http://php.net/manual/en/language.operators.arithmetic.php *] [http://php.net/manual/en/function.pow.php pow] (10,..) || 浮點數,除非左邊的參數是整數且指數是非負整數 || {{nts|10}}


|
|
第115行: 第115行:
{| class="wikitable"
{| class="wikitable"
|{{xpett|e4}}
|{{xpett|e4}}

|}
|}
|-
|-
第130行: 第131行:
{| class="wikitable"
{| class="wikitable"
|{{xpett|e^43}}
|{{xpett|e^43}}

|-
|-
|{{xpett|trunc exp43}}
|{{xpett|trunc exp43}}

|}
|}
|-
|-
第146行: 第149行:
{| class="wikitable"
{| class="wikitable"
|{{xpett|ln2/ln10}}
|{{xpett|ln2/ln10}}

|}
|}
|-
|-
第212行: 第216行:
{| class="wikitable"
{| class="wikitable"
|{{xpett|sin(30*pi/180)}}
|{{xpett|sin(30*pi/180)}}

|}
|}
|-
|-
第293行: 第298行:
|-
|-
| '''<code>/</code>''' (或寫作'''div''') || 2
| '''<code>/</code>''' (或寫作'''div''') || 2
|| [[除法]] <br/>(div非整數除法<ref name="divmod">'''<code>div</code>''' and '''<code>mod</code>''' are different from all programming languages, see [[phab:T8068]]</ref>)
|| [[除法]] <br/>(div非整數除法<ref name="divmod">'''<code>div</code>''''''<code>mod</code>''' 在几乎所有编程语言中都不同。</ref>
| [http://php.net/manual/en/language.operators.arithmetic.php /] || 原則上為浮點數。若兩參數皆為整數且[[整除]]則為整數 || {{nts|7}} ||
| [http://php.net/manual/en/language.operators.arithmetic.php /] || 原則上為浮點數。若兩參數皆為整數且[[整除]]則為整數 || {{nts|7}} ||
{| class="wikitable"
{| class="wikitable"
第381行: 第386行:
{| class="wikitable"
{| class="wikitable"
|{{xpett|a{{=}}a}}
|{{xpett|a{{=}}a}}

|}
|}
|-
|-
第461行: 第467行:
{| class="wikitable"
{| class="wikitable"
| {{xpett|1234567890123456789}}
| {{xpett|1234567890123456789}}

|-
|-
| {{xpett|123456789.0123456789}}
| {{xpett|123456789.0123456789}}

|}
|}
|-
|-
第470行: 第478行:
{| class="wikitable"
{| class="wikitable"
| {{xpett|e}}
| {{xpett|e}}

|}
|}
|-
|-
第477行: 第486行:
{| class="wikitable"
{| class="wikitable"
| {{xpett|pi}}
| {{xpett|pi}}

|}
|}
|}
|}