Movatterモバイル変換


[0]ホーム

URL:


Scala 3
3.7.4
LearnInstallPlaygroundFind A LibraryCommunityBlog
Scala 3
LearnInstallPlaygroundFind A LibraryCommunityBlog
DocsAPI
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
Scala 3/scala/Double

Double

scala.Double
See theDouble companion class
objectDouble

Attributes

Companion
class
Source
Double.scala
Graph
Supertypes
classObject
traitMatchable
classAny
Self type
Double.type

Members list

Value members

Concrete methods

Transform a value type into a boxed reference type.

Transform a value type into a boxed reference type.

Runtime implementation determined byscala.runtime.BoxesRunTime.boxToDouble. Seesrc/library/scala/runtime/BoxesRunTime.java.

Value parameters

x

the Double to be boxed

Attributes

Returns

a java.lang.Double offeringx as its underlying value.

Source
Double.scala
overridedeftoString:String

The String representation of the scala.Double companion object.

The String representation of the scala.Double companion object.

Attributes

Definition Classes
Source
Double.scala

Transform a boxed type into a value type.

Transform a boxed type into a value type. Note that this method is not typesafe: it accepts any Object, but will throw an exception if the argument is not a java.lang.Double.

Runtime implementation determined byscala.runtime.BoxesRunTime.unboxToDouble. Seesrc/library/scala/runtime/BoxesRunTime.java.

Value parameters

x

the java.lang.Double to be unboxed.

Attributes

Returns

the Double resulting from calling doubleValue() onx

Throws

ClassCastException if the argument is not a java.lang.Double

Source
Double.scala

Concrete fields

finalvalMaxValue: 1.7976931348623157E308d

The largest finite positive number representable as a Double.

The largest finite positive number representable as a Double.

Attributes

Source
Double.scala
finalvalMinPositiveValue: 4.9E-324d

The smallest positive value greater than 0.0d which is representable as a Double.

The smallest positive value greater than 0.0d which is representable as a Double.

Attributes

Source
Double.scala
finalvalMinValue: -1.7976931348623157E308d

The negative number with the greatest (finite) absolute value which is representable by a Double.

The negative number with the greatest (finite) absolute value which is representable by a Double. Note that it differs fromjava.lang.Double.MIN_VALUE, which is the smallest positive value representable by a Double. In Scala that number is called Double.MinPositiveValue.

Attributes

Source
Double.scala
finalvalNaN: NaNd

Attributes

Source
Double.scala
finalvalNegativeInfinity: -Infinityd

Attributes

Source
Double.scala
finalvalPositiveInfinity: Infinityd

Attributes

Source
Double.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp