Martin Teichmann

Results 7 comments of Martin Teichmann

Good that I came here before the PR got merged.... This issue is blatantly wrong. Floordiv should absolutetly give a DimensionalityError, because it *is* a dimensionality error. Your example shows...

Your use case is exactly the use case that works (or at least should work, provided there is no bug). `divmod(10*u.ft, 4*u.ft)` should work seamlessly, simply because it makes sense....

While I am not sure about the missing operators, I can only say that in the example that you give a `DimensionalityError` is exactly the right thing. What should the...

Well, if you regard it like that, what should the value of `parse("5000 mm % 2")` be? Given that 5 m and 5000 mm are the same, the result should...

Well, if floor is unit-agnostic, as you say, can you please tell me what is `floor(3.3 in + 1.1 m)`?

> > Well, if floor is unit-agnostic, as you say, can you please tell me what is `floor(3.3 in + 1.1 m)`? > > That doesn't really have anything to...

> Maybe this is more about standardization? After all, units are given by physists, say, with different cultural backgrounds before eventually some standardization emerges, if it does. So one could...