Skip to content
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

Update round() for PHP-8.4 and Minor fixes for BCMath's round #4425

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

SakiTakamachi
Copy link
Member

No description provided.

@SakiTakamachi SakiTakamachi marked this pull request as ready for review January 29, 2025 12:42
@SakiTakamachi
Copy link
Member Author

I just noticed, does this conflict with #4107 ?

Copy link
Member

@TimWolla TimWolla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I leave the Docbook / wording review to Girgias.

reference/math/functions/round.xml Show resolved Hide resolved
@@ -112,6 +112,7 @@
</tbody>
</tgroup>
</informaltable>
However, please note that some newly added modes only exist in <link linkend="enum.roundingmode">RoundingMode</link>.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
However, please note that some newly added modes only exist in <link linkend="enum.roundingmode">RoundingMode</link>.
However, please note that some newly added modes only exist in <enumname>RoundingMode</enumname>.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't access the enum page because there is no link, is this something plan to address?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but currently not supported :/

<term><parameter>mode</parameter></term>
<listitem>
<simpara>
Specifies the rounding mode.
Specifies the rounding mode. For more information about modes, see <link linkend="enum.roundingmode">RoundingMode</link>.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Specifies the rounding mode. For more information about modes, see <link linkend="enum.roundingmode">RoundingMode</link>.
Specifies the rounding mode. For more information about modes, see <enumname>RoundingMode</enumname>.

Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use <enumname> tags instead of <link> the linking can be resolved out-of-band.

@SakiTakamachi
Copy link
Member Author

Fixed.
I decided not to use the link tag because it seems like I could support automatic linking of enumname.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants