Skip to content

Conversation

@jakevdp
Copy link
Collaborator

@jakevdp jakevdp commented Aug 22, 2024

Fixes #170

@jakevdp jakevdp requested a review from hawkinsp August 22, 2024 23:33
@jakevdp jakevdp self-assigned this Aug 22, 2024
@jakevdp jakevdp force-pushed the divmod branch 3 times, most recently from 9b6e79b to a78533b Compare August 23, 2024 16:05
Copy link
Collaborator

@hawkinsp hawkinsp 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 to me, but I'd appreciate @apivovarov 's review as well.

@jakevdp jakevdp force-pushed the divmod branch 3 times, most recently from 4414ef0 to f57d63b Compare August 23, 2024 16:49
@jakevdp
Copy link
Collaborator Author

jakevdp commented Aug 23, 2024

Pulling in for further testing

truncate(expected, float_type=float_type),
rtol=0.0,
float_type=float_type,
)
Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you for adding this test!

Copy link
Contributor

@apivovarov apivovarov left a comment

Choose a reason for hiding this comment

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

LGTM

@copybara-service copybara-service bot merged commit 6c9775f into jax-ml:main Aug 23, 2024
@apivovarov apivovarov mentioned this pull request Aug 23, 2024
@jakevdp jakevdp deleted the divmod branch August 23, 2024 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

np.floor_divide(?, ml_dtypes.???(0.0)) return NaN but np.float16 returns Inf.

3 participants