33 references to IsFinite
System.Data.Common (1)
System\Data\SQLTypes\SQLDouble.cs (1)
37
if (!double.
IsFinite
(value))
System.Private.CoreLib (15)
src\libraries\System.Private.CoreLib\src\System\Double.cs (9)
1115
public static bool IsInteger(double value) =>
IsFinite
(value) && (value == Truncate(value));
1498
if (
IsFinite
(x) &&
IsFinite
(y))
1680
if (
IsFinite
(x))
1725
if (
IsFinite
(x))
1844
if (
IsFinite
(x))
1959
if (
IsFinite
(x))
2076
if (
IsFinite
(x))
2163
if (
IsFinite
(x))
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
527
Debug.Assert(double.
IsFinite
(value));
src\libraries\System.Private.CoreLib\src\System\Math.cs (3)
301
if (!double.
IsFinite
(x))
333
if (!double.
IsFinite
(x))
902
if (!double.
IsFinite
(x)) // infinity or NaN
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
572
public static bool IsFinite(NFloat value) => NativeType.
IsFinite
(value._value);
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
548
Debug.Assert(double.
IsFinite
(value));
System.Private.DataContractSerialization (1)
System\Xml\ValueHandle.cs (1)
317
if ((value >= float.MinValue && value <= float.MaxValue) || !double.
IsFinite
(value))
System.Private.Xml (3)
System\Xml\Schema\DataTypeImplementation.cs (1)
3700
if (!double.
IsFinite
(value))
System\Xml\XmlConvert.cs (1)
1729
if (!double.
IsFinite
(value))
System\Xml\Xsl\XPathConvert.cs (1)
2967
if (double.TryParse(s, NumberStyles.Float, CultureInfo.InvariantCulture, out double result) && double.
IsFinite
(result))
System.Runtime.Numerics (12)
System\Numerics\BigInteger.cs (1)
153
if (!double.
IsFinite
(value))
System\Numerics\Complex.cs (11)
182
if (!double.
IsFinite
(left.m_real))
184
if (!double.
IsFinite
(left.m_imaginary))
192
if (!double.
IsFinite
(left.m_imaginary))
202
if (!double.
IsFinite
(right.m_real))
204
if (!double.
IsFinite
(right.m_imaginary))
212
if (!double.
IsFinite
(right.m_imaginary))
251
if (!double.
IsFinite
(left.m_real))
253
if (!double.
IsFinite
(left.m_imaginary))
261
if (!double.
IsFinite
(left.m_imaginary))
606
public static bool IsFinite(Complex value) => double.
IsFinite
(value.m_real) && double.
IsFinite
(value.m_imaginary);
System.Text.Json (1)
System\Text\Json\JsonHelpers.cs (1)
277
return double.
IsFinite
(value);