BigInteger.DoubleValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts this BigInteger to a double
.
[Android.Runtime.Register("doubleValue", "()D", "GetDoubleValueHandler")]
public override double DoubleValue ();
[<Android.Runtime.Register("doubleValue", "()D", "GetDoubleValueHandler")>]
override this.DoubleValue : unit -> double
Returns
this BigInteger converted to a double
.
- Attributes
Remarks
Converts this BigInteger to a double
. This conversion is similar to the narrowing primitive conversion from double
to float
as defined in <cite>The Java Language Specification</cite>: if this BigInteger has too great a magnitude to represent as a double
, it will be converted to Double#NEGATIVE_INFINITY
or Double#POSITIVE_INFINITY
as appropriate. Note that even when the return value is finite, this conversion can lose information about the precision of the BigInteger value.
Java documentation for java.math.BigInteger.doubleValue()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.