types
types copied to clipboard
✨ New `plus`, `minus` and `times` functions in `NegativeInteger`
📝 Description
For all Kotlin platforms and Java, we want to add the following binary operations as experimental declarations:
operator fun NegativeInteger.plus(other: PositiveInteger): Integer = TODO()
operator fun NegativeInteger.plus(other: NegativeInteger): NegativeInteger = TODO()
operator fun NegativeInteger.minus(other: PositiveInteger): NegativeInteger = TODO()
operator fun NegativeInteger.minus(other: NegativeInteger): Integer = TODO()
operator fun NegativeInteger.times(other: PositiveInteger): NegativeInteger = TODO()
operator fun NegativeInteger.times(other: NegativeInteger): PositiveInteger = TODO()
🔗 Dependencies
This issue is blocked by the following items:
- [ ] #821
- [ ] #661
- [ ] #822
✅ Checklist
See the Issue implementation section in the contributing guidelines before addressing the following checklist.
- [ ] ✨ Add the
NegativeInteger.plus(PositiveInteger)function with tests, documentation and samples. - [ ] ✨ Add the
NegativeInteger.plus(NegativeInteger)function with tests, documentation and samples. - [ ] ✨ Add the
NegativeInteger.minus(PositiveInteger)function with tests, documentation and samples. - [ ] ✨ Add the
NegativeInteger.minus(NegativeInteger)function with tests, documentation and samples. - [ ] ✨ Add the
NegativeInteger.times(PositiveInteger)function with tests, documentation and samples. - [ ] ✨ Add the
NegativeInteger.times(NegativeInteger)function with tests, documentation and samples. - [ ] 📝 Update the unreleased changelog for this issue.
- [ ] 📝 After closing this issue, update the status of tracking issues depending only on this one.