A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://scala-lang.org/api/3.x/scala/compiletime/ops/double$.html below:

double

scala.compiletime.ops.double

Members list

Remainder of the division of X by Y.

Remainder of the division of X by Y.

import compiletime.ops.double.*
val mod: 5.0 % 2.0 = 1.0
Attributes
Source
double.scala

Multiplication of two Double singleton types.

Multiplication of two Double singleton types.

import compiletime.ops.double.*
val mul: 4.0 * 2.0 = 8.0
Attributes
Source
double.scala

Addition of two Double singleton types.

Addition of two Double singleton types.

import compiletime.ops.double.*
val sum: 2.0 + 2.0 = 4.0
Attributes
Source
double.scala

Subtraction of two Double singleton types.

Subtraction of two Double singleton types.

import compiletime.ops.double.*
val sub: 4.0 - 2.0 = 2.0
Attributes
Source
double.scala

Integer division of two Double singleton types.

Integer division of two Double singleton types.

import compiletime.ops.double.*
val div: 5.0 / 2.0 = 2.5
Attributes
Source
double.scala

Less-than comparison of two Double singleton types.

Less-than comparison of two Double singleton types.

import compiletime.ops.double.*
val lt1: 4.0 < 2.0 = false
val lt2: 2.0 < 4.0 = true
Attributes
Source
double.scala

Less-or-equal comparison of two Double singleton types.

Less-or-equal comparison of two Double singleton types.

import compiletime.ops.double.*
val lt1: 4.0 <= 2.0 = false
val lt2: 2.0 <= 2.0 = true
Attributes
Source
double.scala

Greater-than comparison of two Double singleton types.

Greater-than comparison of two Double singleton types.

import compiletime.ops.double.*
val gt1: 4.0 > 2.0 = true
val gt2: 2.0 > 2.0 = false
Attributes
Source
double.scala

Greater-or-equal comparison of two Double singleton types.

Greater-or-equal comparison of two Double singleton types.

import compiletime.ops.double.*
val ge1: 4.0 >= 2.0 = true
val ge2: 2.0 >= 3.0 = false
Attributes
Source
double.scala

Absolute value of an Double singleton type.

Absolute value of an Double singleton type.

import compiletime.ops.double.*
val abs: Abs[-1.0] = 1.0
Attributes
Source
double.scala

Maximum of two Double singleton types.

Maximum of two Double singleton types.

import compiletime.ops.double.*
val max: Max[-1.0, 1.0] = 1.0
Attributes
Source
double.scala

Minimum of two Double singleton types.

Minimum of two Double singleton types.

import compiletime.ops.double.*
val min: Min[-1.0, 1.0] = -1.0
Attributes
Source
double.scala

Negation of an Double singleton type.

Negation of an Double singleton type.

import compiletime.ops.double.*
val neg1: Negate[-1.0] = 1.0
val neg2: Negate[1.0] = -1.0
Attributes
Source
double.scala

Float conversion of a Double singleton type.

Float conversion of a Double singleton type.

import compiletime.ops.double.*
val x: ToFloat[1.0] = 1.0f
Attributes
Source
double.scala

Int conversion of a Double singleton type.

Int conversion of a Double singleton type.

import compiletime.ops.double.*
val x: ToInt[1.0] = 1
Attributes
Source
double.scala

Long conversion of a Double singleton type.

Long conversion of a Double singleton type.

import compiletime.ops.double.*
val x: ToLong[1.0] = 1L
Attributes
Source
double.scala

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4