kotools / libraries

Multiplatform libraries for expressive programming with Kotlin.
https://kotools.github.io/libraries
MIT License
0 stars 0 forks source link

Binary operations for `kotools.types.NegativeInt` #98

Closed LVMVRQUXL closed 1 year ago

LVMVRQUXL commented 1 year ago

Description

Implement the following operations:

public operator fun NegativeInt.div(other: StrictlyPositiveInt): NegativeInt = TODO()
public operator fun NegativeInt.div(other: StrictlyNegativeInt): PositiveInt = TODO()
public operator fun NegativeInt.rem(other: NonZeroInt): NegativeInt = TODO()
public operator fun NegativeInt.rem(other: StrictlyPositiveInt): NegativeInt = TODO()
public operator fun NegativeInt.rem(other: StrictlyNegativeInt): NegativeInt = TODO()

Checklist