1
0
mirror of https://github.com/php/doc-ja.git synced 2026-03-27 00:22:08 +01:00
Files
archived-doc-ja/reference/math/constants.xml
2021-04-26 21:29:47 +09:00

184 lines
5.5 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: f9c4a68ef4f89e51e6d9b905ad3ddb6492386dd3 Maintainer: takagi Status: ready -->
<appendix xml:id="math.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants.core;
<para>
<table>
<title>Math の定数</title>
<tgroup cols="3">
<thead>
<row>
<entry>定数</entry>
<entry></entry>
<entry>説明</entry>
<entry>使用可能</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.m-pi">
<entry><constant>M_PI</constant></entry>
<entry>3.14159265358979323846</entry>
<entry>パイ(円周率)</entry>
<entry></entry>
</row>
<row xml:id="constant.m-e">
<entry><constant>M_E</constant></entry>
<entry>2.7182818284590452354</entry>
<entry>e自然対数の底</entry>
<entry></entry>
</row>
<row xml:id="constant.m-log2e">
<entry><constant>M_LOG2E</constant></entry>
<entry>1.4426950408889634074</entry>
<entry>log_2 e</entry>
<entry></entry>
</row>
<row xml:id="constant.m-log10e">
<entry><constant>M_LOG10E</constant></entry>
<entry>0.43429448190325182765</entry>
<entry>log_10 e</entry>
<entry></entry>
</row>
<row xml:id="constant.m-ln2">
<entry><constant>M_LN2</constant></entry>
<entry>0.69314718055994530942</entry>
<entry>log_e 2</entry>
<entry></entry>
</row>
<row xml:id="constant.m-ln10">
<entry><constant>M_LN10</constant></entry>
<entry>2.30258509299404568402</entry>
<entry>log_e 10</entry>
<entry></entry>
</row>
<row xml:id="constant.m-pi-2">
<entry><constant>M_PI_2</constant></entry>
<entry>1.57079632679489661923</entry>
<entry>pi/2</entry>
<entry></entry>
</row>
<row xml:id="constant.m-pi-4">
<entry><constant>M_PI_4</constant></entry>
<entry>0.78539816339744830962</entry>
<entry>pi/4</entry>
<entry></entry>
</row>
<row xml:id="constant.m-1-pi">
<entry><constant>M_1_PI</constant></entry>
<entry>0.31830988618379067154</entry>
<entry>1/pi</entry>
<entry></entry>
</row>
<row xml:id="constant.m-2-pi">
<entry><constant>M_2_PI</constant></entry>
<entry>0.63661977236758134308</entry>
<entry>2/pi</entry>
<entry></entry>
</row>
<row xml:id="constant.m-sqrtpi">
<entry><constant>M_SQRTPI</constant></entry>
<entry>1.77245385090551602729</entry>
<entry>sqrt(pi)</entry>
<entry></entry>
</row>
<row xml:id="constant.m-2-sqrtpi">
<entry><constant>M_2_SQRTPI</constant></entry>
<entry>1.12837916709551257390</entry>
<entry>2/sqrt(pi)</entry>
<entry></entry>
</row>
<row xml:id="constant.m-sqrt2">
<entry><constant>M_SQRT2</constant></entry>
<entry>1.41421356237309504880</entry>
<entry>sqrt(2)</entry>
<entry></entry>
</row>
<row xml:id="constant.m-sqrt3">
<entry><constant>M_SQRT3</constant></entry>
<entry>1.73205080756887729352</entry>
<entry>sqrt(3)</entry>
<entry></entry>
</row>
<row xml:id="constant.m-sqrt1-2">
<entry><constant>M_SQRT1_2</constant></entry>
<entry>0.70710678118654752440</entry>
<entry>1/sqrt(2)</entry>
<entry></entry>
</row>
<row xml:id="constant.m-lnpi">
<entry><constant>M_LNPI</constant></entry>
<entry>1.14472988584940017414</entry>
<entry>log_e(pi)</entry>
<entry></entry>
</row>
<row xml:id="constant.m-euler">
<entry><constant>M_EULER</constant></entry>
<entry>0.57721566490153286061</entry>
<entry>オイラー定数</entry>
<entry></entry>
</row>
<row xml:id="constant.php-round-half-up">
<entry><constant>PHP_ROUND_HALF_UP</constant></entry>
<entry>1</entry>
<entry>端数を切り上げる</entry>
<entry></entry>
</row>
<row xml:id="constant.php-round-half-down">
<entry><constant>PHP_ROUND_HALF_DOWN</constant></entry>
<entry>2</entry>
<entry>端数を切り捨てる</entry>
<entry></entry>
</row>
<row xml:id="constant.php-round-half-even">
<entry><constant>PHP_ROUND_HALF_EVEN</constant></entry>
<entry>3</entry>
<entry>端数を偶数に丸める</entry>
<entry></entry>
</row>
<row xml:id="constant.php-round-half-odd">
<entry><constant>PHP_ROUND_HALF_ODD</constant></entry>
<entry>4</entry>
<entry>端数を奇数に丸める</entry>
<entry></entry>
</row>
<row xml:id="constant.nan">
<entry><constant>NAN</constant></entry>
<entry>NAN (float)</entry>
<entry>非数値</entry>
<entry></entry>
</row>
<row xml:id="constant.inf">
<entry><constant>INF</constant></entry>
<entry>INF (float)</entry>
<entry>無限</entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</appendix>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->