num-rational
num-rational copied to clipboard
add numer_mut() denom_mut()
At minimum, this has the same hazards as new_raw, as these could be used to create non-reduced values and/or non-positive denominators.
What is the use case? (Ideally some real case you're facing, not a hypothetical.)
I'm using this to track a bunch of performance metrics in the form of