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 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.