Skip to content

Conversation

@gwenzek
Copy link
Contributor

@gwenzek gwenzek commented Jan 12, 2024

small follow up on #17143 , which will allow to close #17142

The log_int function should also be called at compile time. To allow this, I made the compile time check a little more permissive.

@matu3ba can you please review this one, since you accepted the previous one ? Thanks.

@matu3ba
Copy link
Contributor

matu3ba commented Jan 12, 2024

@matu3ba can you please review this one, since you accepted the previous one ? Thanks.

I did not approve it, only reviewed it and I'm not part of the core team. I'd prefer leaving reviews in general for the core team. Would that be okay for you?

@andrewrk
Copy link
Member

Nice, thank you.

@andrewrk andrewrk merged commit c5d359e into ziglang:master Jan 14, 2024
@gwenzek gwenzek deleted the log branch January 31, 2024 20:26
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.

std.math.log computes integer logarithm incorrectly (by using floating point math)

3 participants