Skip to content

Add @divCeil builtin (revival)#21757

Closed
Ratakor wants to merge 1 commit into
ziglang:masterfrom
Ratakor:master
Closed

Add @divCeil builtin (revival)#21757
Ratakor wants to merge 1 commit into
ziglang:masterfrom
Ratakor:master

Conversation

@Ratakor

@Ratakor Ratakor commented Oct 20, 2024

Copy link
Copy Markdown
Contributor

Closes #16022.

Mostly based on #16807.

@Ratakor Ratakor force-pushed the master branch 3 times, most recently from 67d1207 to ca7cbc9 Compare October 21, 2024 12:47
Comment thread stage1/zig.h Outdated
Comment thread doc/langref.html.in Outdated
Comment thread doc/langref.html.in Outdated
@Ratakor Ratakor force-pushed the master branch 2 times, most recently from b914780 to 051cf65 Compare January 24, 2025 01:10
@alexrp

alexrp commented Feb 5, 2025

Copy link
Copy Markdown
Member

test/behavior/math.zig:683:1: error: TODO: implement @divCeil on i32 and i32

It either needs to be implemented in the x86_64 backend or the tests need to be disabled for that backend initially.

@andrewrk

Copy link
Copy Markdown
Member

This pull request is not ready for review because:

  • It has conflicts that must be resolved via rebasing against latest origin/master.
  • It is not passing the CI tests.
  • No response to core team feedback for 30+ days.

@andrewrk andrewrk closed this Nov 27, 2025
@pavelverigo

Copy link
Copy Markdown
Contributor

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.

Proposal: promote std.math.divCeil to @divCeil builtin

6 participants