-
Notifications
You must be signed in to change notification settings - Fork 740
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
ext/bcmath: Correctly modified an existing document #4163
base: master
Are you sure you want to change the base?
Conversation
7416fdc
to
d0aea10
Compare
reference/bc/functions/bcmul.xml
Outdated
<refsect1 role="errors"> | ||
&reftitle.errors; | ||
<para> | ||
This function throws a <exceptionname>ValueError</exceptionname> in the following cases: | ||
<simplelist> | ||
<member><parameter>num1</parameter> or <parameter>num2</parameter> is not a well-formed BCMath numeric string</member> | ||
<member><parameter>scale</parameter> is outside the valid range</member> | ||
</simplelist> | ||
</para> | ||
</refsect1> |
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.
Considering how often this is repeated I would use XIncludes to avoid the repetition
fixed |
@SakiTakamachi I pushed a bunch of wording fixes and docs fixes which are existing issues, as I wanted to check locally that everything renders somewhat as expected. |
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.
Small nits, otherwise ok
<simplelist> | ||
<member> | ||
<parameter>num1</parameter> or <parameter>num2</parameter> | ||
is not a well-formed BCMath numeric string |
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.
is not a well-formed BCMath numeric string | |
is not a well-formed BCMath numeric string. |
is not a well-formed BCMath numeric string | ||
</member> | ||
<member> | ||
<parameter>scale</parameter> is outside the valid range |
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.
<parameter>scale</parameter> is outside the valid range | |
<parameter>scale</parameter> is outside the valid range. |
<para> | ||
This function throws a <exceptionname>ValueError</exceptionname> in the following cases: | ||
<simplelist> | ||
<member><parameter>num</parameter> is not a well-formed BCMath numeric string</member> |
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.
<member><parameter>num</parameter> is not a well-formed BCMath numeric string</member> | |
<member><parameter>num</parameter> is not a well-formed BCMath numeric string.</member> |
This function throws a <exceptionname>ValueError</exceptionname> in the following cases: | ||
<simplelist> | ||
<member><parameter>num</parameter> is not a well-formed BCMath numeric string</member> | ||
<member><parameter>scale</parameter> is outside the valid range</member> |
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.
<member><parameter>scale</parameter> is outside the valid range</member> | |
<member><parameter>scale</parameter> is outside the valid range.</member> |
Fixed and added exception behavior.
Also added a
<literal>
tag.