Update from dev #16

Merged
altavir merged 18 commits from dev into master 2018-10-12 11:18:55 +03:00
Showing only changes of commit 520765abb9 - Show all commits

View File

@ -104,6 +104,9 @@ interface Field<T> : Ring<T> {
operator fun T.plus(b: Number) = this.plus(b * one) operator fun T.plus(b: Number) = this.plus(b * one)
operator fun Number.plus(b: T) = b + this operator fun Number.plus(b: T) = b + this
operator fun T.minus(b: Number) = this.minus(b * one)
operator fun Number.minus(b: T) = -b + this
} }
/** /**