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.StrictlyNegativeInt` #101

Closed LVMVRQUXL closed 1 year ago

LVMVRQUXL commented 1 year ago

Description

Implement the following operations:

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

Checklist