You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently to_nominal falls back to Decimal, but ideally we could have a tiered fallback system. When implementing #2, many systems specify a fallback outside of a given range.
It seems like we should restrict counter systems to their CSS ranges and support the same fallback mechanisms.
The text was updated successfully, but these errors were encountered:
I just noticed that fallbacks are implemented incorrectly compared to the browser. I caused the base digit to repeat, using decimal for digits afterwards. It turns out I should have just started at the current decimal value once the set runs out -- e.g., for earthly branch, the first cjk-decimal should be 13.
Refs #3
This isn't a full fallback system, as really we should have a Range on
NominalSystem for that. This implementation hopefully can be compatible
with general nominal system fallback handling.
Currently to_nominal falls back to Decimal, but ideally we could have a tiered fallback system. When implementing #2, many systems specify a fallback outside of a given range.
It seems like we should restrict counter systems to their CSS ranges and support the same fallback mechanisms.
The text was updated successfully, but these errors were encountered: