DiySingle

Namespace: SnowBank.Numerics · struct

Implements: IEquatable<DiySingle>, IFormattable

Constructors

DiySingle

DiySingle(float d)

DiySingle(uint r)

Properties

Exponent

int Exponent { get; }

IsDenormal

bool IsDenormal { get; }

IsInfinite

bool IsInfinite { get; }

IsInteger

bool IsInteger { get; }

IsNaN

bool IsNaN { get; }

IsNegative

bool IsNegative { get; }

IsSpecial

bool IsSpecial { get; }

Sign

int Sign { get; }

Significand

uint Significand { get; }

Methods

Equals

bool Equals(object obj)

bool Equals(DiySingle other)

FromRaw

static float FromRaw(uint raw)

GetHashCode

int GetHashCode()

GetRawExponent

static uint GetRawExponent(uint raw)

GetRawSign

static bool GetRawSign(uint raw)

GetRawSignificand

static uint GetRawSignificand(uint raw)

Recombine

static float Recombine(uint rawSignificand, uint rawExponent, bool sign)

ToRaw

static uint ToRaw(float f)

ToSingle

double ToSingle()

ToString

string ToString()

string ToString(string format, IFormatProvider formatProvider)

ToUInt32

ulong ToUInt32()

Fields

DenormalExponent

const int DenormalExponent

ExponentBias

const int ExponentBias

ExponentMask

const uint ExponentMask

ExponentOffset

const int ExponentOffset

HiddenBit

const uint HiddenBit

Infinity

const uint Infinity

MaxExponent

const int MaxExponent

NaN

const uint NaN

PhysicalSignificandSize

const int PhysicalSignificandSize

Raw

readonly uint Raw

SignMask

const uint SignMask

SignificandMask

const uint SignificandMask

SignificandSize

const int SignificandSize

Value

readonly float Value