-
Notifications
You must be signed in to change notification settings - Fork 79
ext/bcmath: PHP 8.4の翻訳 #257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
96170d3
to
aa915c4
Compare
05bf48d
to
36b7be7
Compare
reference/bc/bcmath/number/div.xml
Outdated
</para> | ||
<simpara> | ||
このメソッドは、 <parameter>num</parameter> が <literal>0</literal> である場合、 | ||
<exceptionname>DivisionByZeroError</exceptionname> exception をスローします。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exception
の削除忘れだと思われます
reference/bc/bcmath/number/pow.xml
Outdated
</para> | ||
<simpara> | ||
このメソッドは、<varname>$this</varname> の値が <literal>0</literal> かつ <parameter>exponent</parameter> が負の値である場合、 | ||
<exceptionname>DivisionByZeroError</exceptionname> exception をスローします。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exception
の削除忘れだと思われます
</para> | ||
<simpara> | ||
このメソッドは、 <parameter>modulus</parameter> が <literal>0</literal> である場合、 | ||
<exceptionname>DivisionByZeroError</exceptionname> exception をスローします。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exception
の削除忘れだと思われます
reference/bc/functions/bcdiv.xml
Outdated
This function throws a <exceptionname>DivisionByZeroError</exceptionname> | ||
exception if <parameter>num2</parameter> is <literal>0</literal>. | ||
この関数は、 <parameter>num2</parameter> が <literal>0</literal> である場合、 | ||
<exceptionname>DivisionByZeroError</exceptionname> exception をスローします。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exception
の削除忘れだと思われます
reference/bc/functions/bcpow.xml
Outdated
This function throws a <exceptionname>DivisionByZeroError</exceptionname> exception if <parameter>num</parameter> | ||
is <literal>0</literal> and <parameter>exponent</parameter> is a negative value. | ||
この関数は、<parameter>num</parameter> の値が <literal>0</literal> かつ <parameter>exponent</parameter> が負の値である場合、 | ||
<exceptionname>DivisionByZeroError</exceptionname> exception をスローします。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exception
の削除忘れだと思われます
reference/bc/functions/bcpowmod.xml
Outdated
This function throws a <exceptionname>DivisionByZeroError</exceptionname> exception if <parameter>modulus</parameter> | ||
is <literal>0</literal>. | ||
この関数は、<parameter>modulus</parameter> の値が <literal>0</literal> である場合、 | ||
<exceptionname>DivisionByZeroError</exceptionname> exception をスローします。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exception
の削除忘れだと思われます
reference/bc/bcmath/number/round.xml
Outdated
</example> | ||
<example> | ||
<title> | ||
Example of using <methodname>BcMath\Number::round</methodname> で異なる <parameter>precision</parameter> を指定した例 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Example of using
の削除忘れだと思われます
reference/bc/bcmath/number/mod.xml
Outdated
</methodsynopsis> | ||
<simpara> | ||
<varname>$this</varname> を <parameter>num</parameter> で割った剰余を取得します。 | ||
<parameter>num</parameter> が <literal>0</literal> でない限り, 結果は <varname>$this</varname> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
読点が ,
のままのようです
reference/bc/functions/bcpowmod.xml
Outdated
</entry> | ||
</row> | ||
<row> | ||
<entry>8.0.0</entry> | ||
<entry> | ||
Dividing by <literal>0</literal> now throws a <exceptionname>DivisionByZeroError</exceptionname> exception instead of returning &false;. | ||
<literal>0</literal> 除算を行うと、<exceptionname>DivisionByZeroError</exceptionname> | ||
exception がスローされるようになりました。以前は &false; が返されていました。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exception
の削除忘れだと思われます
reference/bc/functions/bcmod.xml
Outdated
@@ -57,7 +57,8 @@ | |||
<row> | |||
<entry>8.0.0</entry> | |||
<entry> | |||
Dividing by <literal>0</literal> now throws a <exceptionname>DivisionByZeroError</exceptionname> exception instead of returning null. | |||
<literal>0</literal> 除算を行うと、<exceptionname>DivisionByZeroError</exceptionname> | |||
exception がスローされるようになりました。以前は &null; が返されていました。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exception
の削除忘れだと思われます
誤字脱字と思われる箇所のみ指摘させていただきました |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
誤字脱字や何かしらのjaのルールに沿わない表現があるかなど特に見ていただけると助かります。
文章は @siwa32 さんが見てくださったので、私の方では revcheck の動作に関わる箇所やxmlのシンタックス、スタイルなどを確認しました。問題ないと思います。非常に丁寧な作業、ありがとうございます!
@siwa32 @KentarouTakeda
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SakiTakamachi
ありがとうございます!
@siwa32
レビューありがとうございました!書いていただいた内容も私の方で精査し、大丈夫そうなので今の状態でマージします。何かあれば仰って下さい!
* language-snippets.ent: スキップされていた 8b502f81f951a1af64396b69823f7a35b7637541 を取り込み * language-snippets.ent: スキップされていた 9a5b92a30888d6423db112f07a9b344cf6fc4891 を取り込み * language-snippets.ent: スキップされていた c75f19c74fa3b64abfafd7a35aaa652b07834a5a を取り込み * language-snippets.ent: スキップされていた 53054bf8decc8648cf2e90a493692a161e2371af を取り込み * language-snippets.ent: スキップされていた ed1aff13602c94f86344bdd7c4fbc31f5a71bf84 を取り込み * language-snippets.ent: スキップされていた bead080a991889bf281d32095f2197e61413ac70 を取り込み * language-snippets.ent: スキップされていた ebbc5bb97c8c063d31309725c0bb93d21213993b を取り込み * language-snippets.ent: スキップされていた 810229e31c049ee7240aad2be5694fca7901ce60 を取り込み
* language-snippets.ent: スキップされていた 9b68bf2b63200534e022bc65e800cae6c75abf26 を取り込み * language-snippets.ent: スキップされていた 32caa89e81d180f209425159e2be2f243a3e12cc を取り込み * language-snippets.ent: スキップされていた ffd2ef754b37526c0b96e94859d57ce06acfbf41 を取り込み * language-snippets.ent: スキップされていた a8b6f4dd3a23875b066d4e47ea4a4977a63e0655 を取り込み * language-snippets.ent: スキップされていた c39225b6dd23f358824f44f5b8c733517b11830b を取り込み
2024/1/30時点での最新適用
原文書いたのが私なので、技術的な内容は全て合っていると考えて大丈夫です。
その他、誤字脱字や何かしらのjaのルールに沿わない表現があるかなど特に見ていただけると助かります。