beartype / numerary

A pure-Python codified rant aspiring to a world where numbers and types can work together.
https://posita.github.io/numerary/latest/
Other
39 stars 1 forks source link

Merge `SupportsFloor` and `SupportsCeil` into `SupportsFloorCeil` #3

Closed posita closed 2 years ago

posita commented 2 years ago

I think keeping these separate these makes about as sense as splitting up SupportsNumeratorDenominator* or SupportsRealImag. I can't find a single instance of something supporting __floor__, but not __ceil__ (or vice versa).