Commit 2022-07-19 18:28 101555b1
View on Github →refactor(data/real/ennreal): redefine ennreal.to_nnreal in terms of with_top.untop' (#15247)
- redefine ennreal.to_nnrealaswith_top.untop' 0;
- use lambda function instead of idfor identity coercions ofnatandint;
- move with_top.add_monoid_with_oneandwith_bot.add_monoid_with_onetoalgebra.order.monoid, add commutative version;
- generalize ennreal.to_nnreal_multowith_top.