Skip to content

Conversation

@andylizi
Copy link
Contributor

@andylizi andylizi commented Nov 19, 2025

As pointed out in #7392 (comment). There is only one case where overflow happens: i64::MIN.checked_div(-1)1

Footnotes

  1. https://doc.rust-lang.org/nightly/std/primitive.i64.html#method.checked_div

@laurmaedje laurmaedje requested a review from PgBiel November 20, 2025 16:49
@laurmaedje laurmaedje added the waiting-on-review This PR is waiting to be reviewed. label Nov 20, 2025
Copy link
Contributor

@PgBiel PgBiel left a comment

Choose a reason for hiding this comment

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

Looks good, thank you! My review will focus mostly on docs. I'll note that a few suggestions are only to reflow comments so they adhere to our limit of up to 80 columns on each comment line.

Co-Authored-By: PgBiel <9021226+PgBiel@users.noreply.github.com>
@laurmaedje laurmaedje added scripting About Typst's coding capabilities fix A bug fix. waiting-on-author Pull request waits on author and removed waiting-on-review This PR is waiting to be reviewed. labels Nov 21, 2025
@laurmaedje laurmaedje added waiting-on-review This PR is waiting to be reviewed. and removed waiting-on-author Pull request waits on author labels Nov 28, 2025
@laurmaedje laurmaedje removed the waiting-on-review This PR is waiting to be reviewed. label Dec 1, 2025
@laurmaedje laurmaedje enabled auto-merge December 1, 2025 10:33
@laurmaedje
Copy link
Member

Thanks!

@laurmaedje laurmaedje added this pull request to the merge queue Dec 1, 2025
Merged via the queue into typst:main with commit b0f1142 Dec 1, 2025
8 checks passed
laurmaedje added a commit that referenced this pull request Dec 2, 2025
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A bug fix. scripting About Typst's coding capabilities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants