Remainder of the division ofX byY.
Remainder of the division ofX byY.
import compiletime.ops.double.*val mod: 5.0 % 2.0 = 1.0Multiplication of twoDouble singleton types.
Multiplication of twoDouble singleton types.
import compiletime.ops.double.*val mul: 4.0 * 2.0 = 8.0Addition of twoDouble singleton types.
Addition of twoDouble singleton types.
import compiletime.ops.double.*val sum: 2.0 + 2.0 = 4.0Subtraction of twoDouble singleton types.
Subtraction of twoDouble singleton types.
import compiletime.ops.double.*val sub: 4.0 - 2.0 = 2.0Integer division of twoDouble singleton types.
Integer division of twoDouble singleton types.
import compiletime.ops.double.*val div: 5.0 / 2.0 = 2.5Less-than comparison of twoDouble singleton types.
Less-than comparison of twoDouble singleton types.
import compiletime.ops.double.*val lt1: 4.0 < 2.0 = falseval lt2: 2.0 < 4.0 = trueLess-or-equal comparison of twoDouble singleton types.
Less-or-equal comparison of twoDouble singleton types.
import compiletime.ops.double.*val lt1: 4.0 <= 2.0 = falseval lt2: 2.0 <= 2.0 = trueGreater-than comparison of twoDouble singleton types.
Greater-than comparison of twoDouble singleton types.
import compiletime.ops.double.*val gt1: 4.0 > 2.0 = trueval gt2: 2.0 > 2.0 = falseGreater-or-equal comparison of twoDouble singleton types.
Greater-or-equal comparison of twoDouble singleton types.
import compiletime.ops.double.*val ge1: 4.0 >= 2.0 = trueval ge2: 2.0 >= 3.0 = falseAbsolute value of anDouble singleton type.
Absolute value of anDouble singleton type.
import compiletime.ops.double.*val abs: Abs[-1.0] = 1.0Maximum of twoDouble singleton types.
Maximum of twoDouble singleton types.
import compiletime.ops.double.*val max: Max[-1.0, 1.0] = 1.0Minimum of twoDouble singleton types.
Minimum of twoDouble singleton types.
import compiletime.ops.double.*val min: Min[-1.0, 1.0] = -1.0Negation of anDouble singleton type.
Negation of anDouble singleton type.
import compiletime.ops.double.*val neg1: Negate[-1.0] = 1.0val neg2: Negate[1.0] = -1.0Float conversion of aDouble singleton type.
Float conversion of aDouble singleton type.
import compiletime.ops.double.*val x: ToFloat[1.0] = 1.0fInt conversion of aDouble singleton type.
Int conversion of aDouble singleton type.
import compiletime.ops.double.*val x: ToInt[1.0] = 1Long conversion of aDouble singleton type.
Long conversion of aDouble singleton type.
import compiletime.ops.double.*val x: ToLong[1.0] = 1L