Files
Jhonathan Abreu 38a78c411a
Python Virtual Environments / build (push) Has been cancelled
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Syntax Tests / build (push) Has been cancelled
Add arithmetic operators to numeric MultiPeriodField classes (#9571)
* Add arithmetic operators to numeric MultiPeriodField classes

Implement +, -, *, / and % operators on the numeric MultiPeriodField
and MultiPeriodFieldLong base classes so fundamental fields can be
combined arithmetically. Operators act on each field's default-period
Value and return decimal, consistent with the existing implicit decimal
conversion. Includes unit tests covering field-to-field and
field-to-scalar arithmetic for both base classes.

* Add cross-type operators between double and long backed fields

Support arithmetic between the double-backed MultiPeriodField and the
long-backed MultiPeriodFieldLong by adding the mixed-type operator
overloads (both orderings) for +, -, *, / and %. Includes a unit test
covering double/long arithmetic in both directions.
2026-06-30 14:06:38 -04:00
..
2026-05-28 14:00:14 -03:00
2026-04-07 17:41:12 -04:00
2021-04-02 11:20:01 -07:00
2026-05-06 15:57:09 -03:00
2026-04-07 17:41:12 -04:00
2024-11-01 19:13:07 -03:00
2022-11-09 17:38:34 -03:00
2024-07-09 11:08:42 -03:00
2023-08-08 17:52:46 -03:00
2026-01-14 11:55:29 -03:00
2026-04-07 17:41:12 -04:00
2025-11-24 17:09:39 -04:00