Single 構造体

定義

単精度浮動小数点数を表します。

public value class float : IComparable, IComparable<float>, IConvertible, IEquatable<float>, IFormattable
public value class float : IComparable, IComparable<float>, IConvertible, IEquatable<float>, ISpanFormattable
public value class float : IComparable<float>, IConvertible, IEquatable<float>, IParsable<float>, ISpanParsable<float>, System::Numerics::IAdditionOperators<float, float, float>, System::Numerics::IAdditiveIdentity<float, float>, System::Numerics::IBinaryFloatingPointIeee754<float>, System::Numerics::IBinaryNumber<float>, System::Numerics::IBitwiseOperators<float, float, float>, System::Numerics::IComparisonOperators<float, float, bool>, System::Numerics::IDecrementOperators<float>, System::Numerics::IDivisionOperators<float, float, float>, System::Numerics::IEqualityOperators<float, float, bool>, System::Numerics::IExponentialFunctions<float>, System::Numerics::IFloatingPoint<float>, System::Numerics::IFloatingPointConstants<float>, System::Numerics::IFloatingPointIeee754<float>, System::Numerics::IHyperbolicFunctions<float>, System::Numerics::IIncrementOperators<float>, System::Numerics::ILogarithmicFunctions<float>, System::Numerics::IMinMaxValue<float>, System::Numerics::IModulusOperators<float, float, float>, System::Numerics::IMultiplicativeIdentity<float, float>, System::Numerics::IMultiplyOperators<float, float, float>, System::Numerics::INumber<float>, System::Numerics::INumberBase<float>, System::Numerics::IPowerFunctions<float>, System::Numerics::IRootFunctions<float>, System::Numerics::ISignedNumber<float>, System::Numerics::ISubtractionOperators<float, float, float>, System::Numerics::ITrigonometricFunctions<float>, System::Numerics::IUnaryNegationOperators<float, float>, System::Numerics::IUnaryPlusOperators<float, float>
public value class float : IComparable<float>, IConvertible, IEquatable<float>, IParsable<float>, ISpanParsable<float>, IUtf8SpanParsable<float>, System::Numerics::IAdditionOperators<float, float, float>, System::Numerics::IAdditiveIdentity<float, float>, System::Numerics::IBinaryFloatingPointIeee754<float>, System::Numerics::IBinaryNumber<float>, System::Numerics::IBitwiseOperators<float, float, float>, System::Numerics::IComparisonOperators<float, float, bool>, System::Numerics::IDecrementOperators<float>, System::Numerics::IDivisionOperators<float, float, float>, System::Numerics::IEqualityOperators<float, float, bool>, System::Numerics::IExponentialFunctions<float>, System::Numerics::IFloatingPoint<float>, System::Numerics::IFloatingPointConstants<float>, System::Numerics::IFloatingPointIeee754<float>, System::Numerics::IHyperbolicFunctions<float>, System::Numerics::IIncrementOperators<float>, System::Numerics::ILogarithmicFunctions<float>, System::Numerics::IMinMaxValue<float>, System::Numerics::IModulusOperators<float, float, float>, System::Numerics::IMultiplicativeIdentity<float, float>, System::Numerics::IMultiplyOperators<float, float, float>, System::Numerics::INumber<float>, System::Numerics::INumberBase<float>, System::Numerics::IPowerFunctions<float>, System::Numerics::IRootFunctions<float>, System::Numerics::ISignedNumber<float>, System::Numerics::ISubtractionOperators<float, float, float>, System::Numerics::ITrigonometricFunctions<float>, System::Numerics::IUnaryNegationOperators<float, float>, System::Numerics::IUnaryPlusOperators<float, float>
public value class float : IComparable, IConvertible, IFormattable
public value class float : IComparable, IComparable<float>, IEquatable<float>, IFormattable
public struct Single : IComparable, IComparable<float>, IConvertible, IEquatable<float>, IFormattable
public readonly struct Single : IComparable, IComparable<float>, IConvertible, IEquatable<float>, IFormattable
public readonly struct Single : IComparable, IComparable<float>, IConvertible, IEquatable<float>, ISpanFormattable
public readonly struct Single : IComparable<float>, IConvertible, IEquatable<float>, IParsable<float>, ISpanParsable<float>, System.Numerics.IAdditionOperators<float,float,float>, System.Numerics.IAdditiveIdentity<float,float>, System.Numerics.IBinaryFloatingPointIeee754<float>, System.Numerics.IBinaryNumber<float>, System.Numerics.IBitwiseOperators<float,float,float>, System.Numerics.IComparisonOperators<float,float,bool>, System.Numerics.IDecrementOperators<float>, System.Numerics.IDivisionOperators<float,float,float>, System.Numerics.IEqualityOperators<float,float,bool>, System.Numerics.IExponentialFunctions<float>, System.Numerics.IFloatingPoint<float>, System.Numerics.IFloatingPointConstants<float>, System.Numerics.IFloatingPointIeee754<float>, System.Numerics.IHyperbolicFunctions<float>, System.Numerics.IIncrementOperators<float>, System.Numerics.ILogarithmicFunctions<float>, System.Numerics.IMinMaxValue<float>, System.Numerics.IModulusOperators<float,float,float>, System.Numerics.IMultiplicativeIdentity<float,float>, System.Numerics.IMultiplyOperators<float,float,float>, System.Numerics.INumber<float>, System.Numerics.INumberBase<float>, System.Numerics.IPowerFunctions<float>, System.Numerics.IRootFunctions<float>, System.Numerics.ISignedNumber<float>, System.Numerics.ISubtractionOperators<float,float,float>, System.Numerics.ITrigonometricFunctions<float>, System.Numerics.IUnaryNegationOperators<float,float>, System.Numerics.IUnaryPlusOperators<float,float>
public readonly struct Single : IComparable<float>, IConvertible, IEquatable<float>, IParsable<float>, ISpanParsable<float>, IUtf8SpanParsable<float>, System.Numerics.IAdditionOperators<float,float,float>, System.Numerics.IAdditiveIdentity<float,float>, System.Numerics.IBinaryFloatingPointIeee754<float>, System.Numerics.IBinaryNumber<float>, System.Numerics.IBitwiseOperators<float,float,float>, System.Numerics.IComparisonOperators<float,float,bool>, System.Numerics.IDecrementOperators<float>, System.Numerics.IDivisionOperators<float,float,float>, System.Numerics.IEqualityOperators<float,float,bool>, System.Numerics.IExponentialFunctions<float>, System.Numerics.IFloatingPoint<float>, System.Numerics.IFloatingPointConstants<float>, System.Numerics.IFloatingPointIeee754<float>, System.Numerics.IHyperbolicFunctions<float>, System.Numerics.IIncrementOperators<float>, System.Numerics.ILogarithmicFunctions<float>, System.Numerics.IMinMaxValue<float>, System.Numerics.IModulusOperators<float,float,float>, System.Numerics.IMultiplicativeIdentity<float,float>, System.Numerics.IMultiplyOperators<float,float,float>, System.Numerics.INumber<float>, System.Numerics.INumberBase<float>, System.Numerics.IPowerFunctions<float>, System.Numerics.IRootFunctions<float>, System.Numerics.ISignedNumber<float>, System.Numerics.ISubtractionOperators<float,float,float>, System.Numerics.ITrigonometricFunctions<float>, System.Numerics.IUnaryNegationOperators<float,float>, System.Numerics.IUnaryPlusOperators<float,float>
[System.Serializable]
public struct Single : IComparable, IConvertible, IFormattable
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct Single : IComparable, IComparable<float>, IConvertible, IEquatable<float>, IFormattable
public struct Single : IComparable, IComparable<float>, IEquatable<float>, IFormattable
type single = struct
    interface IConvertible
    interface IFormattable
type single = struct
    interface IConvertible
    interface ISpanFormattable
    interface IFormattable
type single = struct
    interface IConvertible
    interface IFormattable
    interface IParsable<single>
    interface ISpanFormattable
    interface ISpanParsable<single>
    interface IAdditionOperators<single, single, single>
    interface IAdditiveIdentity<single, single>
    interface IBinaryFloatingPointIeee754<single>
    interface IBinaryNumber<single>
    interface IBitwiseOperators<single, single, single>
    interface IComparisonOperators<single, single, bool>
    interface IEqualityOperators<single, single, bool>
    interface IDecrementOperators<single>
    interface IDivisionOperators<single, single, single>
    interface IIncrementOperators<single>
    interface IModulusOperators<single, single, single>
    interface IMultiplicativeIdentity<single, single>
    interface IMultiplyOperators<single, single, single>
    interface INumber<single>
    interface INumberBase<single>
    interface ISubtractionOperators<single, single, single>
    interface IUnaryNegationOperators<single, single>
    interface IUnaryPlusOperators<single, single>
    interface IExponentialFunctions<single>
    interface IFloatingPointConstants<single>
    interface IFloatingPoint<single>
    interface ISignedNumber<single>
    interface IFloatingPointIeee754<single>
    interface IHyperbolicFunctions<single>
    interface ILogarithmicFunctions<single>
    interface IPowerFunctions<single>
    interface IRootFunctions<single>
    interface ITrigonometricFunctions<single>
    interface IMinMaxValue<single>
type single = struct
    interface IConvertible
    interface IFormattable
    interface IParsable<single>
    interface ISpanFormattable
    interface ISpanParsable<single>
    interface IAdditionOperators<single, single, single>
    interface IAdditiveIdentity<single, single>
    interface IBinaryFloatingPointIeee754<single>
    interface IBinaryNumber<single>
    interface IBitwiseOperators<single, single, single>
    interface IComparisonOperators<single, single, bool>
    interface IEqualityOperators<single, single, bool>
    interface IDecrementOperators<single>
    interface IDivisionOperators<single, single, single>
    interface IIncrementOperators<single>
    interface IModulusOperators<single, single, single>
    interface IMultiplicativeIdentity<single, single>
    interface IMultiplyOperators<single, single, single>
    interface INumber<single>
    interface INumberBase<single>
    interface ISubtractionOperators<single, single, single>
    interface IUnaryNegationOperators<single, single>
    interface IUnaryPlusOperators<single, single>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<single>
    interface IExponentialFunctions<single>
    interface IFloatingPointConstants<single>
    interface IFloatingPoint<single>
    interface ISignedNumber<single>
    interface IFloatingPointIeee754<single>
    interface IHyperbolicFunctions<single>
    interface ILogarithmicFunctions<single>
    interface IPowerFunctions<single>
    interface IRootFunctions<single>
    interface ITrigonometricFunctions<single>
    interface IMinMaxValue<single>
type single = struct
    interface IConvertible
    interface IFormattable
    interface IParsable<single>
    interface ISpanFormattable
    interface ISpanParsable<single>
    interface IUtf8SpanFormattable
    interface IUtf8SpanParsable<single>
    interface IAdditionOperators<single, single, single>
    interface IAdditiveIdentity<single, single>
    interface IBinaryFloatingPointIeee754<single>
    interface IBinaryNumber<single>
    interface IBitwiseOperators<single, single, single>
    interface IComparisonOperators<single, single, bool>
    interface IEqualityOperators<single, single, bool>
    interface IDecrementOperators<single>
    interface IDivisionOperators<single, single, single>
    interface IIncrementOperators<single>
    interface IModulusOperators<single, single, single>
    interface IMultiplicativeIdentity<single, single>
    interface IMultiplyOperators<single, single, single>
    interface INumber<single>
    interface INumberBase<single>
    interface ISubtractionOperators<single, single, single>
    interface IUnaryNegationOperators<single, single>
    interface IUnaryPlusOperators<single, single>
    interface IExponentialFunctions<single>
    interface IFloatingPointConstants<single>
    interface IFloatingPoint<single>
    interface ISignedNumber<single>
    interface IFloatingPointIeee754<single>
    interface IHyperbolicFunctions<single>
    interface ILogarithmicFunctions<single>
    interface IPowerFunctions<single>
    interface IRootFunctions<single>
    interface ITrigonometricFunctions<single>
    interface IMinMaxValue<single>
[<System.Serializable>]
type single = struct
    interface IFormattable
    interface IConvertible
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type single = struct
    interface IFormattable
    interface IConvertible
type single = struct
    interface IFormattable
Public Structure Single
Implements IComparable, IComparable(Of Single), IConvertible, IEquatable(Of Single), IFormattable
Public Structure Single
Implements IComparable, IComparable(Of Single), IConvertible, IEquatable(Of Single), ISpanFormattable
Public Structure Single
Implements IAdditionOperators(Of Single, Single, Single), IAdditiveIdentity(Of Single, Single), IBinaryFloatingPointIeee754(Of Single), IBinaryNumber(Of Single), IBitwiseOperators(Of Single, Single, Single), IComparable(Of Single), IComparisonOperators(Of Single, Single, Boolean), IConvertible, IDecrementOperators(Of Single), IDivisionOperators(Of Single, Single, Single), IEqualityOperators(Of Single, Single, Boolean), IEquatable(Of Single), IExponentialFunctions(Of Single), IFloatingPoint(Of Single), IFloatingPointConstants(Of Single), IFloatingPointIeee754(Of Single), IHyperbolicFunctions(Of Single), IIncrementOperators(Of Single), ILogarithmicFunctions(Of Single), IMinMaxValue(Of Single), IModulusOperators(Of Single, Single, Single), IMultiplicativeIdentity(Of Single, Single), IMultiplyOperators(Of Single, Single, Single), INumber(Of Single), INumberBase(Of Single), IParsable(Of Single), IPowerFunctions(Of Single), IRootFunctions(Of Single), ISignedNumber(Of Single), ISpanParsable(Of Single), ISubtractionOperators(Of Single, Single, Single), ITrigonometricFunctions(Of Single), IUnaryNegationOperators(Of Single, Single), IUnaryPlusOperators(Of Single, Single)
Public Structure Single
Implements IAdditionOperators(Of Single, Single, Single), IAdditiveIdentity(Of Single, Single), IBinaryFloatingPointIeee754(Of Single), IBinaryNumber(Of Single), IBitwiseOperators(Of Single, Single, Single), IComparable(Of Single), IComparisonOperators(Of Single, Single, Boolean), IConvertible, IDecrementOperators(Of Single), IDivisionOperators(Of Single, Single, Single), IEqualityOperators(Of Single, Single, Boolean), IEquatable(Of Single), IExponentialFunctions(Of Single), IFloatingPoint(Of Single), IFloatingPointConstants(Of Single), IFloatingPointIeee754(Of Single), IHyperbolicFunctions(Of Single), IIncrementOperators(Of Single), ILogarithmicFunctions(Of Single), IMinMaxValue(Of Single), IModulusOperators(Of Single, Single, Single), IMultiplicativeIdentity(Of Single, Single), IMultiplyOperators(Of Single, Single, Single), INumber(Of Single), INumberBase(Of Single), IParsable(Of Single), IPowerFunctions(Of Single), IRootFunctions(Of Single), ISignedNumber(Of Single), ISpanParsable(Of Single), ISubtractionOperators(Of Single, Single, Single), ITrigonometricFunctions(Of Single), IUnaryNegationOperators(Of Single, Single), IUnaryPlusOperators(Of Single, Single), IUtf8SpanParsable(Of Single)
Public Structure Single
Implements IComparable, IConvertible, IFormattable
Public Structure Single
Implements IComparable, IComparable(Of Single), IEquatable(Of Single), IFormattable
継承
Single
属性
実装
IComparable IComparable<Single> IConvertible IEquatable<Single> IFormattable ISpanFormattable IComparable<TSelf> IEquatable<TSelf> IParsable<Single> IParsable<TSelf> ISpanParsable<Single> ISpanParsable<TSelf> IAdditionOperators<Single,Single,Single> IAdditionOperators<TSelf,TSelf,TSelf> IAdditiveIdentity<Single,Single> IAdditiveIdentity<TSelf,TSelf> IBinaryFloatingPointIeee754<Single> IBinaryNumber<Single> IBinaryNumber<TSelf> IBitwiseOperators<Single,Single,Single> IBitwiseOperators<TSelf,TSelf,TSelf> IComparisonOperators<Single,Single,Boolean> IComparisonOperators<TSelf,TSelf,Boolean> IDecrementOperators<Single> IDecrementOperators<TSelf> IDivisionOperators<Single,Single,Single> IDivisionOperators<TSelf,TSelf,TSelf> IEqualityOperators<Single,Single,Boolean> IEqualityOperators<TSelf,TOther,TResult> IEqualityOperators<TSelf,TSelf,Boolean> IExponentialFunctions<Single> IExponentialFunctions<TSelf> IFloatingPoint<Single> IFloatingPoint<TSelf> IFloatingPointConstants<Single> IFloatingPointConstants<TSelf> IFloatingPointIeee754<Single> IFloatingPointIeee754<TSelf> IHyperbolicFunctions<Single> IHyperbolicFunctions<TSelf> IIncrementOperators<Single> IIncrementOperators<TSelf> ILogarithmicFunctions<Single> ILogarithmicFunctions<TSelf> IMinMaxValue<Single> IModulusOperators<Single,Single,Single> IModulusOperators<TSelf,TSelf,TSelf> IMultiplicativeIdentity<Single,Single> IMultiplicativeIdentity<TSelf,TSelf> IMultiplyOperators<Single,Single,Single> IMultiplyOperators<TSelf,TSelf,TSelf> INumber<Single> INumber<TSelf> INumberBase<Single> INumberBase<TSelf> IPowerFunctions<Single> IPowerFunctions<TSelf> IRootFunctions<Single> IRootFunctions<TSelf> ISignedNumber<Single> ISignedNumber<TSelf> ISubtractionOperators<Single,Single,Single> ISubtractionOperators<TSelf,TSelf,TSelf> ITrigonometricFunctions<Single> ITrigonometricFunctions<TSelf> IUnaryNegationOperators<Single,Single> IUnaryNegationOperators<TSelf,TSelf> IUnaryPlusOperators<Single,Single> IUnaryPlusOperators<TSelf,TSelf> IUtf8SpanFormattable IUtf8SpanParsable<Single> IUtf8SpanParsable<TSelf>

注釈

この API の詳細については、「Single の 補足 API 解説」を参照してください。

フィールド

E

定数 e で指定された自然対数底を表します。

Epsilon

ゼロより大きい最小の Single 値を表します。 このフィールドは定数です。

MaxValue

Single の最大有効値を表します。 このフィールドは定数です。

MinValue

Single の最小有効値を表します。 このフィールドは定数です。

NaN

非数 (NaN) を表します。 このフィールドは定数です。

NegativeInfinity

負の無限大を表します。 このフィールドは定数です。

NegativeZero

負の 0 (-0) の数値を表します。

Pi

定数 (π) を指定して、円の直径に対する円周の割合を表します。

PositiveInfinity

正の無限大を表します。 このフィールドは定数です。

Tau

定数 τ によって指定される、1 回のターンのラジアン数を表します。

メソッド

Abs(Single)

値の絶対を計算します。

Acos(Single)

値のアークコサインを計算します。

Acosh(Single)

値の双曲線アークコサインを計算します。

AcosPi(Single)

値のアークコサインを計算し、結果を で pi除算します。

Asin(Single)

値のアークサインを計算します。

Asinh(Single)

値の双曲線アークサインを計算します。

AsinPi(Single)

値のアークサインを計算し、結果を で pi除算します。

Atan(Single)

値のアークタンジェントを計算します。

Atan2(Single, Single)

2 つの値の商のアークタンジェントを計算します。

Atan2Pi(Single, Single)

2 つの値の商のアークタンジェントを計算し、結果を で pi除算します。

Atanh(Single)

値の双曲線アークタンジェントを計算します。

AtanPi(Single)

値のアークタンジェントを計算し、結果を pi で除算します。

BitDecrement(Single)

指定された値より小さい値を比較する最小の値に値をデクリメントします。

BitIncrement(Single)

指定した値より大きい値を比較する最小値に値をインクリメントします。

Cbrt(Single)

値のキューブ ルートを計算します。

Ceiling(Single)

値の上限を計算します。

Clamp(Single, Single, Single)

値を包括的な最小値と最大値にクランプします。

CompareTo(Object)

このインスタンスと指定したオブジェクトを比較し、このインスタンスの値が指定したオブジェクトの値よりも小さいか、同じか、または大きいかを示す整数を返します。

CompareTo(Single)

このインスタンスと指定した単精度浮動小数点数を比較し、このインスタンスの値が指定した単精度浮動小数点数の値よりも小さいか、同じか、それとも大きいかを示す整数を返します。

CopySign(Single, Single)

値の符号を別の値の符号にコピーします。

Cos(Single)

値のコサインを計算します。

Cosh(Single)

値の双曲線余弦を計算します。

CosPi(Single)

によって pi多重化された値のコサインを計算します。

CreateChecked<TOther>(TOther)

現在の型のインスタンスを値から作成し、現在の型の表現可能な範囲外の値に対してオーバーフロー例外をスローします。

CreateSaturating<TOther>(TOther)

現在の型のインスタンスを値から作成し、現在の型の表現可能な範囲外の値を飽和させます。

CreateTruncating<TOther>(TOther)

現在の型のインスタンスを値から作成し、現在の型の表現可能な範囲外の値を切り捨てます。

DegreesToRadians(Single)

指定した値を度からラジアンに変換します。

Equals(Object)

このインスタンスが指定されたオブジェクトに等しいかどうかを示す値を返します。

Equals(Single)

このインスタンスと指定した Single オブジェクトが同じ値を表しているかどうかを示す値を返します。

Exp(Single)

特定の E 電力に対して発生するコンピューティング。

Exp10(Single)

特定の 10 電力に対して発生するコンピューティング。

Exp10M1(Single)

特定の 10 累乗に対して発生した計算を行い、1 を減算します。

Exp2(Single)

特定の 2 電力に対して発生するコンピューティング。

Exp2M1(Single)

特定の 2 累乗に対して発生した計算を行い、1 を減算します。

ExpM1(Single)

特定の E 累乗に対して発生した計算を行い、1 を減算します。

Floor(Single)

値のフロアを計算します。

FusedMultiplyAdd(Single, Single, Single)

3 つの値の乗算加算を計算します。

GetHashCode()

このインスタンスのハッシュ コードを返します。

GetTypeCode()

Single 値型の TypeCode を返します。

Hypot(Single, Single)

直角三角形の短辺の長さを表す 2 つの値を指定して、偽表を計算します。

Ieee754Remainder(Single, Single)

IEEE 754 で指定された 2 つの値の残りの部分を計算します。

ILogB(Single)

値の整数対数を計算します。

IsEvenInteger(Single)

値が偶数の整数を表すかどうかを判断します。

IsFinite(Single)

指定した値が有限 (ゼロ、非正規、または正規) かどうかを判断します。

IsInfinity(Single)

指定した数値が負または正の無限大と評価されるかどうかを示す値を返します。

IsInteger(Single)

値が整数値を表すかどうかを判断します。

IsNaN(Single)

指定した値が非数値 (NaN) かどうかを示す値を返します。

IsNegative(Single)

指定した値が負かどうかを判断します。

IsNegativeInfinity(Single)

指定した数値が負の無限大と評価されるかどうかを示す値を返します。

IsNormal(Single)

指定した値が正規かどうかを判断します。

IsOddInteger(Single)

値が奇数の整数を表すかどうかを判断します。

IsPositive(Single)

値が正かどうかを判断します。

IsPositiveInfinity(Single)

指定した数値が正の無限大と評価されるかどうかを示す値を返します。

IsPow2(Single)

値が 2 の累乗であるかどうかを判断します。

IsRealNumber(Single)

値が実数を表すかどうかを判断します。

IsSubnormal(Single)

指定した値が非正規かどうかを判断します。

Lerp(Single, Single, Single)

指定された重み付けに基づいて、2 つの値間の線形補間を実行します。

Log(Single)

自然 (base-E 値の対数) を計算します。

Log(Single, Single)

指定した底の値の対数を計算します。

Log10(Single)

値の底 10 の対数を計算します。

Log10P1(Single)

値に 1 を加えた底 10 の対数を計算します。

Log2(Single)

値の log2 を計算します。

Log2P1(Single)

値に 1 を加えた底 2 の対数を計算します。

LogP1(Single)

値に 1 を加えた自然対数 (base-E) を計算します。

Max(Single, Single)

2 つの値を、より大きいコンピューティングと比較します。

MaxMagnitude(Single, Single)

2 つの値を、より大きいコンピューティングと比較します。

MaxMagnitudeNumber(Single, Single)

2 つの値を比較して、大きさが大きい計算を行い、入力が の場合は NaNもう一方の値を返します。

MaxNumber(Single, Single)

2 つの値を比較して、より大きいを計算し、入力が の場合は NaNもう一方の値を返します。

Min(Single, Single)

2 つの値を比較して計算します。この値は小さくなります。

MinMagnitude(Single, Single)

2 つの値を比較して計算します。この値は小さくなります。

MinMagnitudeNumber(Single, Single)

2 つの値を比較して、大きさが小さい計算を行い、入力が の場合は NaNもう一方の値を返します。

MinNumber(Single, Single)

2 つの値を比較して、より小さい計算を行い、入力が の場合は NaNもう一方の値を返します。

Parse(ReadOnlySpan<Byte>, IFormatProvider)

UTF-8 文字のスパンを値に解析します。

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

UTF-8 文字のスパンを値に解析します。

Parse(ReadOnlySpan<Char>, IFormatProvider)

文字のスパンを値に解析します。

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

指定したスタイルおよびカルチャに固有の書式による数値の文字列表現を含む文字スパンを、それと等価な単精度浮動小数点数に変換します。

Parse(String)

数値の文字列形式を、それと等価な単精度浮動小数点数に変換します。

Parse(String, IFormatProvider)

指定したカルチャに固有の書式による数値の文字列形式を、それと等価な単精度浮動小数点数に変換します。

Parse(String, NumberStyles)

指定したスタイルでの数値の文字列形式を、それと等価な単精度浮動小数点数に変換します。

Parse(String, NumberStyles, IFormatProvider)

指定したスタイルおよびカルチャに固有の書式による数値の文字列形式を、それと等価な単精度浮動小数点数に変換します。

Pow(Single, Single)

特定の累乗に引き上げられた値を計算します。

RadiansToDegrees(Single)

指定した値をラジアンから度に変換します。

ReciprocalEstimate(Single)

値の逆数の推定値を計算します。

ReciprocalSqrtEstimate(Single)

値の逆平方根の推定値を計算します。

RootN(Single, Int32)

値の n 番目のルートを計算します。

Round(Single)

既定の丸めモード (ToEven) を使用して、値を最も近い整数に丸めます。

Round(Single, Int32)

既定の丸めモード (ToEven) を使用して、指定した桁数の小数部に値を丸めます。

Round(Single, Int32, MidpointRounding)

既定の丸めモード (ToEven) を使用して、指定した桁数の小数部に値を丸めます。

Round(Single, MidpointRounding)

指定した丸めモードを使用して、値を最も近い整数に丸めます。

ScaleB(Single, Int32)

指定した累乗に引き上げられた値とその基数の積を計算します。

Sign(Single)

値の符号を計算します。

Sin(Single)

値のサインを計算します。

SinCos(Single)

値のサインとコサインを計算します。

SinCosPi(Single)

値のサインとコサインを計算します。

Sinh(Single)

値の双曲線サインを計算します。

SinPi(Single)

が乗算 piされた値のサインを計算します。

Sqrt(Single)

値の平方根を計算します。

Tan(Single)

値のタンジェントを計算します。

Tanh(Single)

値の双曲線正接を計算します。

TanPi(Single)

によって多重化された値のタンジェントを pi計算します。

ToString()

このインスタンスの数値を、それと等価な文字列形式に変換します。

ToString(IFormatProvider)

このインスタンスの数値を、指定したカルチャ固有の書式情報を使用して、それと等価な文字列形式に変換します。

ToString(String)

指定した書式を使用して、このインスタンスの数値を、それと等価な文字列形式に変換します。

ToString(String, IFormatProvider)

このインスタンスの数値を、指定した書式およびカルチャ固有の書式情報を使用して、それと等価な文字列形式に変換します。

Truncate(Single)

値を切り捨てます。

TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)

現在のインスタンスの値を UTF-8 として指定されたバイトスパンに書式設定しようとします。

TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

現在の浮動小数点数インスタンスの値の、指定した文字スパンへの書式設定を試みます。

TryParse(ReadOnlySpan<Byte>, IFormatProvider, Single)

UTF-8 文字のスパンを値に解析しようとします。

TryParse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, Single)

UTF-8 文字のスパンを値に解析しようとします。

TryParse(ReadOnlySpan<Byte>, Single)

数値の文字列表現を含む UTF-8 文字範囲を、等価の単精度浮動小数点数に変換しようとします。

TryParse(ReadOnlySpan<Char>, IFormatProvider, Single)

文字のスパンを値に解析しようとします。

TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, Single)

指定したスタイルおよびカルチャに固有の書式による数値のスパン表現を、それと等価な単精度浮動小数点数に変換します。 戻り値は変換が成功したか失敗したかを示します。

TryParse(ReadOnlySpan<Char>, Single)

文字スパン内の数値の文字列表現を、それと等価の単精度浮動小数点数に変換します。 戻り値は変換が成功したか失敗したかを示します。

TryParse(String, IFormatProvider, Single)

文字列を値に解析しようとします。

TryParse(String, NumberStyles, IFormatProvider, Single)

指定したスタイルおよびカルチャに固有の書式による数値の文字列形式を、それと等価な単精度浮動小数点数に変換します。 戻り値は変換が成功したか失敗したかを示します。

TryParse(String, Single)

数値の文字列形式を、それと等価な単精度浮動小数点数に変換します。 戻り値は変換が成功したか失敗したかを示します。

演算子

Equality(Single, Single)

指定した 2 つの Single 値が等しいかどうかを示す値を返します。

GreaterThan(Single, Single)

指定した Single 値が、指定したもう 1 つの Single 値より大きいかどうかを示す値を返します。

GreaterThanOrEqual(Single, Single)

指定した Single 値が、指定したもう 1 つの Single 値以上かどうかを示す値を返します。

Inequality(Single, Single)

指定した 2 つの Single 値が等しくないかどうかを示す値を返します。

LessThan(Single, Single)

指定した Single 値が、指定したもう 1 つの Single 値より小さいかどうかを示す値を返します。

LessThanOrEqual(Single, Single)

指定した Single 値が、指定したもう 1 つの Single 値以下かどうかを示す値を返します。

明示的なインターフェイスの実装

IAdditionOperators<Single,Single,Single>.Addition(Single, Single)

合計を計算するために 2 つの値を加算します。

IAdditiveIdentity<Single,Single>.AdditiveIdentity

現在の型の加算 ID を取得します。

IBinaryNumber<Single>.AllBitsSet

すべてのビットが設定されているバイナリ型のインスタンスを取得します。

IBitwiseOperators<Single,Single,Single>.BitwiseAnd(Single, Single)

ビットごとの と の 2 つの値を計算します。

IBitwiseOperators<Single,Single,Single>.BitwiseOr(Single, Single)

ビットごとのまたは 2 つの値を計算します。

IBitwiseOperators<Single,Single,Single>.ExclusiveOr(Single, Single)

2 つの値の排他的または排他的を計算します。

IBitwiseOperators<Single,Single,Single>.OnesComplement(Single)

指定された値の 1-補数表現を計算します。

IComparable.CompareTo(Object)

現在のインスタンスを同じ型の別のオブジェクトと比較し、現在のインスタンスの並べ替え順序での位置が、比較対象のオブジェクトと比べて前か、後か、または同じかを示す整数を返します。

IConvertible.GetTypeCode()

インスタンスの TypeCode を返します。

IConvertible.ToBoolean(IFormatProvider)

このメンバーの詳細については、「ToBoolean(IFormatProvider)」をご覧ください。

IConvertible.ToByte(IFormatProvider)

このメンバーの詳細については、「ToByte(IFormatProvider)」をご覧ください。

IConvertible.ToChar(IFormatProvider)

この変換はサポートされていません。 このメソッドを使用しようとすると、InvalidCastException がスローされます。

IConvertible.ToDateTime(IFormatProvider)

この変換はサポートされていません。 このメソッドを使用しようとすると、InvalidCastException がスローされます。

IConvertible.ToDecimal(IFormatProvider)

このメンバーの詳細については、「ToDecimal(IFormatProvider)」をご覧ください。

IConvertible.ToDouble(IFormatProvider)

このメンバーの詳細については、「ToDouble(IFormatProvider)」をご覧ください。

IConvertible.ToInt16(IFormatProvider)

このメンバーの詳細については、「ToInt16(IFormatProvider)」をご覧ください。

IConvertible.ToInt32(IFormatProvider)

このメンバーの詳細については、「ToInt32(IFormatProvider)」をご覧ください。

IConvertible.ToInt64(IFormatProvider)

このメンバーの詳細については、「ToInt64(IFormatProvider)」をご覧ください。

IConvertible.ToSByte(IFormatProvider)

このメンバーの詳細については、「ToSByte(IFormatProvider)」をご覧ください。

IConvertible.ToSingle(IFormatProvider)

このメンバーの詳細については、「ToSingle(IFormatProvider)」をご覧ください。

IConvertible.ToType(Type, IFormatProvider)

このメンバーの詳細については、「ToType(Type, IFormatProvider)」をご覧ください。

IConvertible.ToUInt16(IFormatProvider)

このメンバーの詳細については、「ToUInt16(IFormatProvider)」をご覧ください。

IConvertible.ToUInt32(IFormatProvider)

このメンバーの詳細については、「ToUInt32(IFormatProvider)」をご覧ください。

IConvertible.ToUInt64(IFormatProvider)

このメンバーの詳細については、「ToUInt64(IFormatProvider)」をご覧ください。

IDecrementOperators<Single>.Decrement(Single)

値をデクリメントします。

IDivisionOperators<Single,Single,Single>.Division(Single, Single)

1 つの値を別の値で除算して商を計算します。

IFloatingPoint<Single>.GetExponentByteCount()

の一部として書き込まれるバイト数を TryWriteExponentLittleEndian(Span<Byte>, Int32)取得します。

IFloatingPoint<Single>.GetExponentShortestBitLength()

現在の指数部の最短 2 の補数表現の長さをビット単位で取得します。

IFloatingPoint<Single>.GetSignificandBitLength()

現在の記号の長さをビット単位で取得します。

IFloatingPoint<Single>.GetSignificandByteCount()

の一部として書き込まれるバイト数を TryWriteSignificandLittleEndian(Span<Byte>, Int32)取得します。

IFloatingPoint<Single>.TryWriteExponentBigEndian(Span<Byte>, Int32)

現在の指数をビッグ エンディアン形式で特定のスパンに書き込もうとします。

IFloatingPoint<Single>.TryWriteExponentLittleEndian(Span<Byte>, Int32)

特定のスパンに現在の指数をリトル エンディアン形式で書き込もうとします。

IFloatingPoint<Single>.TryWriteSignificandBigEndian(Span<Byte>, Int32)

特定のスパンに現在の仮数をビッグ エンディアン形式で書き込もうとします。

IFloatingPoint<Single>.TryWriteSignificandLittleEndian(Span<Byte>, Int32)

特定のスパンに対して、現在の仮数をリトル エンディアン形式で書き込もうとします。

IFloatingPointConstants<Single>.E

数学定数 eを取得します。

IFloatingPointConstants<Single>.Pi

数学定数 piを取得します。

IFloatingPointConstants<Single>.Tau

数学定数 tauを取得します。

IFloatingPointIeee754<Single>.Epsilon

が発生しない に追加 0 できる最小の値を 0取得します。

IFloatingPointIeee754<Single>.NaN

を表す値を取得します NaN

IFloatingPointIeee754<Single>.NegativeInfinity

infinityの を表す値を取得します。

IFloatingPointIeee754<Single>.NegativeZero

zeroの を表す値を取得します。

IFloatingPointIeee754<Single>.PositiveInfinity

infinityの を表す値を取得します。

IIncrementOperators<Single>.Increment(Single)

値をインクリメントします。

IMinMaxValue<Single>.MaxValue

現在の型の最大値を取得します。

IMinMaxValue<Single>.MinValue

現在の型の最小値を取得します。

IModulusOperators<Single,Single,Single>.Modulus(Single, Single)

2 つの値を一緒に除算して、その剰余または剰余を計算します。

IMultiplicativeIdentity<Single,Single>.MultiplicativeIdentity

現在の型の乗法 ID を取得します。

IMultiplyOperators<Single,Single,Single>.Multiply(Single, Single)

2 つの値を乗算して製品を計算します。

INumberBase<Single>.IsCanonical(Single)

値が正規表現に含まれるかどうかを判断します。

INumberBase<Single>.IsComplexNumber(Single)

値が複素数を表すかどうかを判断します。

INumberBase<Single>.IsImaginaryNumber(Single)

値が純粋な虚数を表すかどうかを判断します。

INumberBase<Single>.IsZero(Single)

値が 0 かどうかを判断します。

INumberBase<Single>.One

型の値 1 を取得します。

INumberBase<Single>.Radix

型の基数 (基本) を取得します。

INumberBase<Single>.TryConvertFromChecked<TOther>(TOther, Single)

単精度浮動小数点数を表します。

INumberBase<Single>.TryConvertFromSaturating<TOther>(TOther, Single)

単精度浮動小数点数を表します。

INumberBase<Single>.TryConvertFromTruncating<TOther>(TOther, Single)

単精度浮動小数点数を表します。

INumberBase<Single>.TryConvertToChecked<TOther>(Single, TOther)

現在の型のインスタンスを別の型に変換しようと試み、現在の型の表現可能な範囲外の値に対してオーバーフロー例外をスローします。

INumberBase<Single>.TryConvertToSaturating<TOther>(Single, TOther)

現在の型のインスタンスを別の型に変換し、現在の型の表現可能な範囲外の値を飽和させます。

INumberBase<Single>.TryConvertToTruncating<TOther>(Single, TOther)

現在の型のインスタンスを別の型に変換し、現在の型の表現可能な範囲外の値を切り捨てます。

INumberBase<Single>.Zero

型の値 0 を取得します。

ISignedNumber<Single>.NegativeOne

型の値 -1 を取得します。

ISubtractionOperators<Single,Single,Single>.Subtraction(Single, Single)

差を計算するために 2 つの値を減算します。

IUnaryNegationOperators<Single,Single>.UnaryNegation(Single)

値の単項否定を計算します。

IUnaryPlusOperators<Single,Single>.UnaryPlus(Single)

値の単項プラスを計算します。

適用対象

スレッド セーフ

この型のすべてのメンバーはスレッド セーフです。 インスタンスの状態を変更するように見えるメンバーは、実際には新しい値で初期化された新しいインスタンスを返します。 他の型と同様に、この型のインスタンスを含む共有変数の読み取りと書き込みは、スレッドの安全性を保証するためにロックによって保護する必要があります。

こちらもご覧ください