We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
math.ceildiv
As title.
fn ceildiv[T: CeilDivable, //](num: T, denom: T) -> T: return -(nun // -denom) # shouldn't use __neg__ on unsigned types
import math fn main(): res = math.ceildiv(UInt8(8), 2) print(res) # prints 0
Mojo 2024.11.305 (a9c84705) on Docker, Intel Mac
The text was updated successfully, but these errors were encountered:
lsh
No branches or pull requests
Bug description
As title.
Steps to reproduce
System information
The text was updated successfully, but these errors were encountered: