Skip to content

Conversation

simzzz
Copy link
Contributor

@simzzz simzzz commented Nov 17, 2022

closes #570

@simzzz simzzz marked this pull request as ready for review November 17, 2022 16:44
@simzzz simzzz requested a review from elpiel November 17, 2022 16:44
}

#[test]
fn test_unified_num_mod_floor_gcd_lcm_divides_is_multiple_of_div_rem() {
Copy link
Member

Choose a reason for hiding this comment

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

I'm uncertain about these tests. You're actually checking 0.00000008 value in the first test for example, not integers so the math is different for floating numbers.
Another things I realised is that num::Integer allows these methods and it's not implemented for floating numbers, so maybe we don't need to include Integer impl for UnitfiedNum

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.

Remaining TODO's in the code

2 participants